Changeset 6667 in josm
- Timestamp:
- 2014-01-10T20:47:20+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java
r6579 r6667 157 157 return; 158 158 for (Node en : s.nearbyNodes(mindist)) { 159 if (en.isConnectedTo(s.w.getNodes(), 3 /* hops */, null)) { 160 continue; 161 } 159 162 if (endnodes_highway.contains(en) && !s.highway && !s.w.concernsArea()) { 160 163 map.put(en, s.w); … … 178 181 return; 179 182 for (Node en : s.nearbyNodes(minmiddledist)) { 183 if (en.isConnectedTo(s.w.getNodes(), 3 /* hops */, null)) { 184 continue; 185 } 180 186 if (!middlenodes.contains(en)) { 181 187 continue; … … 194 200 for (MyWaySegment s : ways) { 195 201 for (Node en : s.nearbyNodes(minmiddledist)) { 202 if (en.isConnectedTo(s.w.getNodes(), 3 /* hops */, null)) { 203 continue; 204 } 196 205 if(isCanceled()) 197 206 return;
Note:
See TracChangeset
for help on using the changeset viewer.