Changeset 5791 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2013-03-22T01:17:06+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Utils.java
r5772 r5791 591 591 while (leadingWhite && start < end) { 592 592 char c = str.charAt(start); 593 if (leadingWhite = (Character.isWhitespace(c) || Character.isSpaceChar(c))) { 593 leadingWhite = (Character.isWhitespace(c) || Character.isSpaceChar(c)); 594 if (leadingWhite) { 594 595 start++; 595 596 } … … 598 599 while (trailingWhite && end > start+1) { 599 600 char c = str.charAt(end-1); 600 if (trailingWhite = (Character.isWhitespace(c) || Character.isSpaceChar(c))) { 601 trailingWhite = (Character.isWhitespace(c) || Character.isSpaceChar(c)); 602 if (trailingWhite) { 601 603 end--; 602 604 }
Note:
See TracChangeset
for help on using the changeset viewer.