Changeset 8342 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2015-05-09T12:49:35+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Diff.java
r8285 r8342 764 764 or until the first nonprovisional at least 8 lines in. 765 765 Until that point, cancel any provisionals. */ 766 for (j = 0, consec = 0; j < length; j++) 767 { 766 for (j = 0, consec = 0; j < length; j++) { 768 767 if (j >= 8 && discards[i + j] == 1) { 769 768 break; … … 771 770 if (discards[i + j] == 2) { 772 771 consec = 0; discards[i + j] = 0; 773 } 774 else if (discards[i + j] == 0) { 772 } else if (discards[i + j] == 0) { 775 773 consec = 0; 776 774 } else { … … 786 784 787 785 /* Same thing, from end. */ 788 for (j = 0, consec = 0; j < length; j++) 789 { 786 for (j = 0, consec = 0; j < length; j++) { 790 787 if (j >= 8 && discards[i - j] == 1) { 791 788 break; … … 793 790 if (discards[i - j] == 2) { 794 791 consec = 0; discards[i - j] = 0; 795 } 796 else if (discards[i - j] == 0) { 792 } else if (discards[i - j] == 0) { 797 793 consec = 0; 798 794 } else { -
trunk/src/org/openstreetmap/josm/tools/Geometry.java
r8303 r8342 183 183 } 184 184 } 185 } 186 else if (test && !intersectionNodes.isEmpty()) 185 } else if (test && !intersectionNodes.isEmpty()) 187 186 return intersectionNodes; 188 187 }
Note:
See TracChangeset
for help on using the changeset viewer.