Changeset 14777 in josm for trunk/src/org
- Timestamp:
- 2019-02-10T12:24:23+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/Highways.java
r14775 r14777 218 218 if (otherWays.size() == 1) 219 219 continue; 220 otherWays.removeIf(w -> w == way || ! highway.startsWith(w.get(HIGHWAY)) || !LINK_TO_HIGHWAYS.contains(w.get(HIGHWAY)));220 otherWays.removeIf(w -> w == way || !w.hasTag("highway") || !highway.startsWith(w.get(HIGHWAY)) || !LINK_TO_HIGHWAYS.contains(w.get(HIGHWAY))); 221 221 if (otherWays.isEmpty()) 222 222 continue;
Note:
See TracChangeset
for help on using the changeset viewer.