Ticket #21930: ConditionalKeys.diff

File ConditionalKeys.diff, 1.7 KB (added by riiga_92@…, 4 years ago)

Possible patch

  • josm/trunk/src/org/openstreetmap/josm/data/validation/tests/ConditionalKeys.java

     
    2727    private final OpeningHourTest openingHourTest = new OpeningHourTest();
    2828    private static final Set<String> RESTRICTION_TYPES = new HashSet<>(Arrays.asList("oneway", "toll", "noexit", "maxspeed", "minspeed",
    2929            "maxstay", "maxweight", "maxaxleload", "maxheight", "maxwidth", "maxlength", "overtaking", "maxgcweight", "maxgcweightrating",
    30             "fee", "restriction", "interval", "duration", "dog", "parking:condition:both", "parking:condition:left", "parking:condition:right",
    31             "parking:condition:both:maxstay", "parking:condition:left:maxstay", "parking:condition:right:maxstay"));
     30            "fee", "restriction", "interval", "duration", "dog"));
    3231    private static final Set<String> RESTRICTION_VALUES = new HashSet<>(Arrays.asList("yes", "official", "designated", "destination",
    33             "delivery", "customers", "permissive", "private", "agricultural", "forestry", "no",
    34             "free", "ticket", "disc", "disabled", "residents", "no_parking", "no_standing", "no_stopping" ));
     32            "delivery", "customers", "permissive", "private", "agricultural", "forestry", "no"));
    3533    private static final Set<String> TRANSPORT_MODES = new HashSet<>(Arrays.asList("access", "foot", "ski", "inline_skates", "ice_skates",
    3634            "horse", "vehicle", "bicycle", "carriage", "trailer", "caravan", "motor_vehicle", "motorcycle", "moped", "mofa",
    3735            "motorcar", "motorhome", "psv", "bus", "taxi", "tourist_bus", "goods", "hgv", "agricultural", "atv", "snowmobile",