RE: [lang] Pre 2.0 StringUtils NPE changes

2003-07-18 Thread Hope, Matthew
PROTECTED] Subject: Re: [lang] Pre 2.0 StringUtils NPE changes Howard M. Lewis Ship [EMAIL PROTECTED] writes: I must have missed this. What change to StringUtils.isEmpty() are you making. I like it just the way it it ... I had an identical method in Tapestry that I deprecated and pointed

RE: [lang] Pre 2.0 StringUtils NPE changes

2003-07-18 Thread Janek Bogucki
On Fri, 2003-07-18 at 13:49, Hope, Matthew wrote: interesting problem... empty string has a very clear meaning in java, it is a non null String object of zero length. Does the entrenched user base merit retaining a non standard naming convention. or is Empty sufficiently entrenched to

RE: [lang] Pre 2.0 StringUtils NPE changes

2003-07-18 Thread Lavandowska
I think (and my personal experience) is that the isEmpty() acts as a short-cut for has a value; where value is not a whitespace character and is not null (thus the trim - whitespaces are not 'valued'). This is so subjective though, I'm sure hasValue() would quickly be shot down ;-) --- Janek

RE: [lang] Pre 2.0 StringUtils NPE changes

2003-07-18 Thread Gary Gregory
Subject: RE: [lang] Pre 2.0 StringUtils NPE changes I think (and my personal experience) is that the isEmpty() acts as a short-cut for has a value; where value is not a whitespace character and is not null (thus the trim - whitespaces are not 'valued'). This is so subjective though, I'm sure