commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitri Ilyin" <dmitri.il...@gmx.net>
Subject StringUtils.isEmpty(), isNotEmpty() and stringsa with some spaces
Date Mon, 23 Jun 2003 17:06:15 GMT
Hi,

if is use isEmpty() method of StringUtils with "   " (string with some
spaces) and isNotEmpty() with the same string i get true from both methods,
becouse isEmpty trims the parameter string and isNotEmpty doesn't.

I think it is not OK.

regards

Dmitri




Mime
View raw message