Ticket #23310: TagChecker_peek_to_peak.diff

File TagChecker_peek_to_peak.diff, 1.2 KB (added by hhtznr, 2 years ago)

Patch fixing the typo

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

    diff --git a/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java b/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java
    index 431cae22c..1839a40fa 100644
    a b public class TagChecker extends TagTest implements TaggingPresetListener {  
    770770    private static boolean hasAcceptedPrimaryTagForMultipolygon(OsmPrimitive p) {
    771771        if (p.hasKey("landuse", "amenity", "building", "building:part", "area:highway", "shop", "place", "boundary",
    772772                "landform", "piste:type", "sport", "golf", "landcover", "aeroway", "office", "healthcare", "craft", "room")
    773                 || p.hasTagDifferent("natural", "tree", "peek", "saddle", "tree_row")
     773                || p.hasTagDifferent("natural", "tree", "peak", "saddle", "tree_row")
    774774                || p.hasTagDifferent("man_made", "survey_point", "mast", "flagpole", "manhole", "watertap")
    775775                || p.hasTagDifferent("highway", "crossing", "bus_stop", "turning_circle", "street_lamp",
    776776                        "traffic_signals", "stop", "milestone", "mini_roundabout", "motorway_junction", "passing_place",