Ticket #15135: conditional_turn_restriction.patch

File conditional_turn_restriction.patch, 1.1 KB (added by udit, 9 years ago)

Patch to fix the warning message while uploading a conditional turn restriction

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

     
    2929    private final OpeningHourTest openingHourTest = new OpeningHourTest();
    3030    private static final Set<String> RESTRICTION_TYPES = new HashSet<>(Arrays.asList("oneway", "toll", "noexit", "maxspeed", "minspeed",
    3131            "maxstay", "maxweight", "maxaxleload", "maxheight", "maxwidth", "maxlength", "overtaking", "maxgcweight", "maxgcweightrating",
    32             "fee"));
     32            "fee", "restriction"));
    3333    private static final Set<String> RESTRICTION_VALUES = new HashSet<>(Arrays.asList("yes", "official", "designated", "destination",
    3434            "delivery", "permissive", "private", "agricultural", "forestry", "no"));
    3535    private static final Set<String> TRANSPORT_MODES = new HashSet<>(Arrays.asList("access", "foot", "ski", "inline_skates", "ice_skates",