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


Ignore:
Timestamp:
2015-01-07T01:01:35+01:00 (9 years ago)
Author:
Don-vip
Message:

see #10938 - take noname=yes into account in validator tests

File:
1 edited

Legend:

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

    r7509 r7932  
    7979        if (!tags.isEmpty()) {
    8080            String highway = tags.get("highway");
    81             if (highway != null && NAMED_WAYS.contains(highway) && !tags.containsKey("name") && !tags.containsKey("ref")) {
     81            if (highway != null && NAMED_WAYS.contains(highway) && !tags.containsKey("name") && !tags.containsKey("ref")
     82                    && !"yes".equals(tags.get("noname"))) {
    8283                boolean isRoundabout = false;
    8384                boolean hasName = false;
Note: See TracChangeset for help on using the changeset viewer.