Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-18 Thread __matthewHawthorne
Developers List Subject: Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces 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, r

RE: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-18 Thread Gary Gregory
: Jakarta Commons Developers List Subject: Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces 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

Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-18 Thread Lavandowska
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 <[EMAIL PROTECTED]> wrote: > On 7/15/03 8:12 PM

Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-16 Thread Henri Yandell
On Thu, 17 Jul 2003, Stephen Colebourne wrote: > Changes made. Again a sanity check by someone would be good. > > Hen, you might also want to re-run your diff for the release notes when we > are ready, as I'm sure its not completely accurate any more. Will do once we get these bits all dealt wi

Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-16 Thread Stephen Colebourne
TED]> To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]> Sent: Wednesday, July 16, 2003 9:05 PM Subject: Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces > > +1 to Stephen's plans btw for StringUtils. > > Hen > > On W

Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-16 Thread Henri Yandell
ated differently from "" in an > application. Same for spaces I guess. > > Stephen > > > > Thanks, > > Gary > > > > -----Original Message- > > From: Stephen Colebourne [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, July 15, 2003 17

Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-16 Thread Todd Jonker
I don't have a vote, but I'd be quite happy with this set of methods. It's a great improvement over 1.x .T. On 7/15/03 8:12 PM, [EMAIL PROTECTED] wrote: > Thus I propose: > isEmpty(), true for "", false for null > isEmptyOrNull(), true for "" and null > isEmptyTrimmed(), trim() then true for "

Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-16 Thread Stephen Colebourne
of a major change to the functionality of existing > > methods. For backward compatibility, which I believe is very important, I > > hope we can come up with different names and leave the existing methods > > pretty much as is. > > > > And I also agree that Trivial just does

Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-15 Thread Stephen Colebourne
or deprecation issues see another thread. Can we have a +1 or not for this proposal. Stephen - Original Message - From: "Steven Caswell" <[EMAIL PROTECTED]> To: "'Jakarta Commons Developers List'" <[EMAIL PROTECTED]> Sent: Wednesday, July 16, 2003

RE: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-15 Thread Steven Caswell
Commons Developers List > Subject: RE: [lang] Pre 2.0 - StringUtils.isEmpty(), > isNotEmpty() and stri ngsa with somespaces > > > > The only major input I have at the moment is -1 to Trivial. > It's hard to find good words, but trivial just doesn't fit. > &g

Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-15 Thread Phil Steitz
An alternative to all of the boolean-valued isXXX, isNotXXX methods might be to introduce an integer-valued classification method to return the rank of a string according to the ordering null < "" < whitespace only (but positive length) < "non-trivial". The syntax would be less natural (maybe to

RE: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-15 Thread Henri Yandell
Sent: Tuesday, July 15, 2003 08:26 > To: Jakarta Commons Developers List > Subject: Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri > ngsa with somespaces > > I agree that having both is/isNot methods is convenient, but I also find > it slightly confusing, and it a

Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-15 Thread __matthewHawthorne
introducing new (inevitablly) non-standard terms. Matt -Original Message- From: Todd Jonker [mailto:[EMAIL PROTECTED] Sent: 15 July 2003 18:20 To: Jakarta Commons Developers List Subject: Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces Hi Stephen, t

RE: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-15 Thread Hope, Matthew
-Original Message----- > From: Todd Jonker [mailto:[EMAIL PROTECTED] > Sent: 15 July 2003 18:20 > To: Jakarta Commons Developers List > Subject: Re: [lang] Pre 2.0 - StringUtils.isEmpty(), > isNotEmpty() and stri ngsa with somespaces > > > Hi Stephen, thanks for your comments

Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-15 Thread Todd Jonker
hello)) { >> } >> >> I still can't recall what that does! ;-) >> >> Gary >> >> -----Original Message- >> From: __matthewHawthorne [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, July 15, 2003 08:26 >> To: Jakarta Commons Develop

RE: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-15 Thread scolebourne
? > > if (StringUtils.isTrivial(hello)) { > } > > I still can't recall what that does! ;-) > > Gary > > -Original Message- > From: __matthewHawthorne [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 15, 2003 08:26 > To: Jakarta Commons Developer

RE: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-15 Thread Gary Gregory
rs List Subject: Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces I agree that having both is/isNot methods is convenient, but I also find it slightly confusing, and it adds more code to maintain. However, as long as they conform to the standard of: boo

RE: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-15 Thread Gary Gregory
ssage- From: __matthewHawthorne [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 08:26 To: Jakarta Commons Developers List Subject: Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces I agree that having both is/isNot methods is convenient, but I also find it sli

Re: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces

2003-07-14 Thread Stephen Colebourne
11:37 PM Subject: RE: [lang] Pre 2.0 - StringUtils.isEmpty(), isNotEmpty() and stri ngsa with somespaces > > +1 from me too. I've mailed the Todd privately to see what he thinks [just > in case he's not on the list anymore]. > > As we have the 3 +1's though, I've gone ahead