commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lavandowska <flanandow...@yahoo.com>
Subject Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces
Date Fri, 18 Jul 2003 14:29:51 GMT
I missed this one earlier, so I guess 2.0 would still work for me,
though I find isEmptyTrimmedOrNull() extremely cumbersome.

I'd likely just move to isEmpty( trim( str ) ) myself, rather than use
the added method signatures.

Lance

--- Todd Jonker <tvj@pobox.com> wrote:

> On 7/15/03 8:12 PM, scolebourne@btopenworld.com wrote:
> 
> > Thus I propose:
> > isEmpty(), true for "", false for null
> > isEmptyOrNull(), true for "" and null
> > isEmptyTrimmed(), trim() then true for "", false for null
> > isEmptyTrimmedOrNull(), trim() then true for "", true for null


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message