You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Stephen Colebourne <sc...@btopenworld.com> on 2002/11/15 00:14:48 UTC

[lang] StringUtils.isTrue()

The StringUtils.isTrue() method currently checks for
'true', 'on' and 'yes'

Should it be changed to do a case insensitve check?
Or just add checks for 'TRUE', 'ON', 'YES' ?
Or is it fine as is ?

Stephen


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [lang] StringUtils.isTrue()

Posted by Stephen Colebourne <sc...@btopenworld.com>.
Done
Stephen

----- Original Message -----
From: "Steven Caswell" <st...@caswell.name>
To: "'Jakarta Commons Developers List'" <co...@jakarta.apache.org>
Sent: Thursday, November 14, 2002 11:52 PM
Subject: RE: [lang] StringUtils.isTrue()


> +1
>
>
> Steven Caswell
> steven@caswell.name
> a.k.a Mungo Knotwise of Michel Delving
> "One ring to rule them all, one ring to find them..."
>
>
> > -----Original Message-----
> > From: Henri Yandell [mailto:bayard@generationjava.com]
> > Sent: Thursday, November 14, 2002 6:37 PM
> > To: Jakarta Commons Developers List
> > Subject: Re: [lang] StringUtils.isTrue()
> >
> >
> > case insenstive i reckon. s'cheap addition :)
> >
> > On Thu, 14 Nov 2002, Stephen Colebourne wrote:
> >
> > > The StringUtils.isTrue() method currently checks for
> > > 'true', 'on' and 'yes'
> > >
> > > Should it be changed to do a case insensitve check?
> > > Or just add checks for 'TRUE', 'ON', 'YES' ?
> > > Or is it fine as is ?
> > >
> > > Stephen
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:commons-dev-> unsubscribe@jakarta.apache.org>
> > > For
> > additional commands,
> > e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:commons-dev-> unsubscribe@jakarta.apache.org>
> > For
> > additional commands,
> > e-mail: <ma...@jakarta.apache.org>
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: [lang] StringUtils.isTrue()

Posted by Steven Caswell <st...@caswell.name>.
+1


Steven Caswell
steven@caswell.name
a.k.a Mungo Knotwise of Michel Delving
"One ring to rule them all, one ring to find them..."


> -----Original Message-----
> From: Henri Yandell [mailto:bayard@generationjava.com] 
> Sent: Thursday, November 14, 2002 6:37 PM
> To: Jakarta Commons Developers List
> Subject: Re: [lang] StringUtils.isTrue()
> 
> 
> case insenstive i reckon. s'cheap addition :)
> 
> On Thu, 14 Nov 2002, Stephen Colebourne wrote:
> 
> > The StringUtils.isTrue() method currently checks for
> > 'true', 'on' and 'yes'
> >
> > Should it be changed to do a case insensitve check?
> > Or just add checks for 'TRUE', 'ON', 'YES' ?
> > Or is it fine as is ?
> >
> > Stephen
> >
> >
> > --
> > To unsubscribe, e-mail:   
> <mailto:commons-dev-> unsubscribe@jakarta.apache.org>
> > For 
> additional commands, 
> e-mail: 
> > <ma...@jakarta.apache.org>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:commons-dev-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <ma...@jakarta.apache.org>
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [lang] StringUtils.isTrue()

Posted by Henri Yandell <ba...@generationjava.com>.
case insenstive i reckon. s'cheap addition :)

On Thu, 14 Nov 2002, Stephen Colebourne wrote:

> The StringUtils.isTrue() method currently checks for
> 'true', 'on' and 'yes'
>
> Should it be changed to do a case insensitve check?
> Or just add checks for 'TRUE', 'ON', 'YES' ?
> Or is it fine as is ?
>
> Stephen
>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>