Changeset 18560 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2022-09-26T08:42:14+02:00 (2 years ago)
Author:
GerdP
Message:

fix #19340: Validator complains about maxweightrating:X:conditional

  • add maxweightrating as valid keyword
File:
1 edited

Legend:

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

    r17585 r18560  
    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", "maxweightrating"));
    3131    private static final Set<String> RESTRICTION_VALUES = new HashSet<>(Arrays.asList("yes", "official", "designated", "destination",
    3232            "delivery", "customers", "permissive", "private", "agricultural", "forestry", "no"));
Note: See TracChangeset for help on using the changeset viewer.