Ticket #22614: 22614.patch
File 22614.patch, 843 bytes (added by , 2 years ago) |
---|
-
src/org/openstreetmap/josm/data/osm/NodeGraph.java
264 264 while (!nextPairs.isEmpty()) { 265 265 NodePair cur = nextPairs.removeLast(); 266 266 if (!dupCheck.contains(cur) && !dupCheck.contains(cur.swap())) { 267 while(!path.isEmpty() && !path.peekLast().isPredecessorOf(cur)) {268 dupCheck.remove(path.removeLast());267 if(!path.isEmpty() && !path.peekLast().isPredecessorOf(cur)) { 268 break; 269 269 } 270 270 path.addLast(cur); 271 271 dupCheck.add(cur);