Ticket #21930: ConditionalKeys.2.diff

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

Correct diff (hopefully)

  • 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"));
     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"));
    3132    private static final Set<String> RESTRICTION_VALUES = new HashSet<>(Arrays.asList("yes", "official", "designated", "destination",
    32             "delivery", "customers", "permissive", "private", "agricultural", "forestry", "no"));
     33            "delivery", "customers", "permissive", "private", "agricultural", "forestry", "no",
     34            "free", "ticket", "disc", "disabled", "residents", "no_parking", "no_standing", "no_stopping" ));
    3335    private static final Set<String> TRANSPORT_MODES = new HashSet<>(Arrays.asList("access", "foot", "ski", "inline_skates", "ice_skates",
    3436            "horse", "vehicle", "bicycle", "carriage", "trailer", "caravan", "motor_vehicle", "motorcycle", "moped", "mofa",
    3537            "motorcar", "motorhome", "psv", "bus", "taxi", "tourist_bus", "goods", "hgv", "agricultural", "atv", "snowmobile",