Changeset 15079 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2019-05-15T22:41:37+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/SimilarNamedWays.java
r15007 r15079 245 245 for (int i = 0; i < words.length; i++) { 246 246 String word = words[i]; 247 part = name.substring(start, start + word.length()); 247 if (start + word.length() <= name.length()) { 248 part = name.substring(start, start + word.length()); 249 } 248 250 if (word.equalsIgnoreCase(part)) { 249 251 break;
Note:
See TracChangeset
for help on using the changeset viewer.