Changeset 5920 in josm for trunk/src/org
- Timestamp:
- 2013-05-01T01:37:06+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java
r4869 r5920 334 334 addNode(w.getNode(i), middlenodes); 335 335 } 336 MyWaySegment ws = new MyWaySegment(w, w.getNode(i-1), w.getNode(i)); 337 if (ws.isBoundary || ws.isAbandoned) { 338 continue; 339 } 340 ret.add(ws); 336 Node a = w.getNode(i-1); 337 Node b = w.getNode(i); 338 if (a.isDrawable() && b.isDrawable()) { 339 MyWaySegment ws = new MyWaySegment(w, a, b); 340 if (ws.isBoundary || ws.isAbandoned) { 341 continue; 342 } 343 ret.add(ws); 344 } 341 345 } 342 346 return ret;
Note:
See TracChangeset
for help on using the changeset viewer.