commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler MacLeod <>
Subject [lang] Whitespace method.
Date Fri, 04 Mar 2011 14:47:05 GMT
Java 5 introduces a new Space predicate to the Character class called
isSpaceChar (
It was introduced to correct some false negatives with isWhitespace
such as with a non-breaking space.

I would recommend replacing the isWhitespace usage in both StringUtils
and WordUtils.

- Tyler

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message