commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Downey <>
Subject [lang] [PATCH] StringUtils documentation
Date Thu, 26 Sep 2002 21:58:05 GMT
Added @throws for methods that throw exceptions, and brought docs in line with 
actual behavior for a couple of methods. In particular String.trim() doesn't 
actually trim just whitespace (!). I suspect poor original coding, then being 
stuck with it.

WRT deleteWhitespace(String), I propose that this be broken into two methods, 
deleteSpace() and deleteWhitespace(), which would cut characters based on 
isSpace() and isWhitespace() respectively?

This patch just documents the existing behavior.

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

View raw message