Changeset 14654 in josm for trunk/src/org/openstreetmap/josm/data/validation/tests/Highways.java
- Timestamp:
- 2019-01-06T20:22:48+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/Highways.java
r14198 r14654 115 115 // As roundabouts are closed ways, take care of not processing the first/last node twice 116 116 for (Node n : new HashSet<>(w.getNodes())) { 117 for (Way h : Utils.filteredCollection(n.getReferrers(), Way.class)) {117 for (Way h : (Iterable<Way>) n.referrers(Way.class)::iterator) { 118 118 String value = h.get(HIGHWAY); 119 119 if (h != w && value != null) {
Note:
See TracChangeset
for help on using the changeset viewer.