Changeset 8419 in josm for trunk/src/org/openstreetmap/josm/tools/Utils.java
- Timestamp:
- 2015-05-23T01:40:23+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Utils.java
r8404 r8419 878 878 /** 879 879 * An alternative to {@link String#trim()} to effectively remove all leading and trailing white characters, including Unicode ones. 880 * @see <a href="http://closingbraces.net/2008/11/11/javastringtrim/">Java’s String.trim has a strange idea of whitespace</a>881 * @see <a href="https://bugs.openjdk.java.net/browse/JDK-4080617">JDK bug 4080617</a>882 880 * @param str The string to strip 883 881 * @return <code>str</code>, without leading and trailing characters, according to 884 882 * {@link Character#isWhitespace(char)} and {@link Character#isSpaceChar(char)}. 883 * @see <a href="http://closingbraces.net/2008/11/11/javastringtrim/">Java’s String.trim has a strange idea of whitespace</a> 884 * @see <a href="https://bugs.openjdk.java.net/browse/JDK-4080617">JDK bug 4080617</a> 885 885 * @since 5772 886 886 */
Note:
See TracChangeset
for help on using the changeset viewer.