commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <GGreg...@seagullsoftware.com>
Subject RE: [lang] Whitespace method.
Date Fri, 04 Mar 2011 15:25:14 GMT
If you'd like to get the ball rolling on that, feel free to create a JIRA ticket and attach
a patch ;)

Gary Gregory
Senior Software Engineer
Rocket Software
3340 Peachtree Road, Suite 820 • Atlanta, GA 30326 • USA
Tel: +1.404.760.1560
Email: ggregory@seagullsoftware.com
Web: seagull.rocketsoftware.com  


> -----Original Message-----
> From: Tyler MacLeod [mailto:macleod.tyler@gmail.com]
> Sent: Friday, March 04, 2011 09:47
> To: user@commons.apache.org
> Subject: [lang] Whitespace method.
> 
> Java 5 introduces a new Space predicate to the Character class called
> isSpaceChar
> (http://download.oracle.com/javase/6/docs/api/java/lang/Character.html#isSp
> aceChar(int)).
> 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: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org

Mime
View raw message