Changeset 11886 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-04-11T23:41:13+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/WayConnectionTypeCalculator.java
r11746 r11886 135 135 private int firstGroupIdx; 136 136 private void makeLoopIfNeeded(final List<WayConnectionType> con, final int i) { 137 boolean loop ;137 boolean loop = false; 138 138 if (i == firstGroupIdx) { //is primitive loop 139 139 loop = determineDirection(i, FORWARD, i) == FORWARD; 140 } else {140 } else if (i >= 0) { 141 141 loop = determineDirection(i, con.get(i).direction, firstGroupIdx) == con.get(firstGroupIdx).direction; 142 142 }
Note:
See TracChangeset
for help on using the changeset viewer.