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
: 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
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
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
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
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
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 "
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
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
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
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
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
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
-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
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
?
>
> 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
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
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
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
19 matches
Mail list logo