RE: [lang] So, about that 2.0....

2003-07-30 Thread Steven Caswell
elopers List > Subject: Re: [lang] So, about that 2.0 > > > > > On Wed, 30 Jul 2003, Stephen Colebourne wrote: > > > We should avoid NPE and throw IAE wherever possible. Its the new > > [lang] way. > > If it's not in the DEV-GUIDE, I'll stic

Re: [lang] So, about that 2.0....

2003-07-30 Thread Henri Yandell
On Wed, 30 Jul 2003, Stephen Colebourne wrote: > We should avoid NPE and throw IAE wherever possible. Its the new [lang] way. If it's not in the DEV-GUIDE, I'll stick it in now. > I propose the clearest is: > translate(*str, null, *) = *str > translate(*str, "", *) = *str > translate(*, "abc

Re: [lang] So, about that 2.0....

2003-07-30 Thread Phil Steitz
> > We should avoid NPE and throw IAE wherever possible. Its the new [lang] way. > > > I propose the clearest is: > translate(*str, null, *) = *str > translate(*str, "", *) = *str > translate(*, "abc", null) = delete chars 'abc' from string > translate(*, "abc", "") = delete chars 'abc' fr

Re: [lang] So, about that 2.0....

2003-07-30 Thread Stephen Colebourne
From: "Henri Yandell" <[EMAIL PROTECTED]> > > Therefore, I think that the reasonable alternatives are > > > > 1. translate(str, with, repl) is a no-op (i.e. returns str unchanged) whenever > > with, repl is null or "" > > > > 2. translate(str, with, repl) throws an exception whenever with, repl is

Re: [lang] So, about that 2.0....

2003-07-30 Thread Henri Yandell
On Wed, 30 Jul 2003, Phil Steitz wrote: > > > Outstanding issues: > > - Enum tests > > - CharSetUtils.translate(*,*,"") > > I have thought about the second issue some more. Correct me if I am wrong, but > I think that the intention of translate(str, repl, with) is: > > "transform str to use the

Re: [lang] So, about that 2.0....

2003-07-30 Thread Phil Steitz
ecent changes so I'll have the mental energy > to > > > > update the release-notes etc. No matter what we decide, I'll start > > > > updating the changelog/release-notes tomorrow night. > > > > > > > > Hen > > > > > > &

Re: [lang] So, about that 2.0....

2003-07-30 Thread Stephen Colebourne
Outstanding issues: - Enum tests - CharSetUtils.translate(*,*,"") Stephen - Original Message - From: "Henri Yandell" <[EMAIL PROTECTED]> To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]> Sent: Wednesday, July 30, 2003 4:34 AM Subject: RE: [l

RE: [lang] So, about that 2.0....

2003-07-29 Thread Henri Yandell
y wrote: > > > > > If it were all up to me, I would go ahead and commit these changes if they > > > are good-to-go since these really about bullet-proofing the release. > > > > > > Gary > > > > > > -Original Message- > > > From:

Re: [lang] So, about that 2.0....

2003-07-29 Thread Phil Steitz
-notes etc. No matter what we decide, I'll start updating the changelog/release-notes tomorrow night. Hen On Mon, 28 Jul 2003, Gary Gregory wrote: If it were all up to me, I would go ahead and commit these changes if they are good-to-go since these really about bullet-proofing the release.

Re: [lang] So, about that 2.0....

2003-07-29 Thread Stephen Colebourne
>> > >>>If it were all up to me, I would go ahead and commit these changes if they > >>>are good-to-go since these really about bullet-proofing the release. > >>> > >>>Gary > >>> > >>>-Original Message- > >

Re: [lang] So, about that 2.0....

2003-07-29 Thread Phil Steitz
rote: If it were all up to me, I would go ahead and commit these changes if they are good-to-go since these really about bullet-proofing the release. Gary -Original Message- From: Phil Steitz [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 18:18 To: Jakarta Commons Developers Lis

RE: [lang] So, about that 2.0....

2003-07-28 Thread Henri Yandell
bout bullet-proofing the release. > > > > Gary > > > > -Original Message- > > From: Phil Steitz [mailto:[EMAIL PROTECTED] > > Sent: Monday, July 28, 2003 18:18 > > To: Jakarta Commons Developers List > > Subject: Re: [lang] So, about

RE: [lang] So, about that 2.0....

2003-07-28 Thread Henri Yandell
e, I would go ahead and commit these changes if they > are good-to-go since these really about bullet-proofing the release. > > Gary > > -Original Message- > From: Phil Steitz [mailto:[EMAIL PROTECTED] > Sent: Monday, July 28, 2003 18:18 > To: Jakarta Commons Developer

RE: [lang] So, about that 2.0....

2003-07-28 Thread Gary Gregory
Subject: Re: [lang] So, about that 2.0 --- Stephen Colebourne <[EMAIL PROTECTED]> wrote: > has anybody got anything outstanding? > > Stephen > I have been working on some additional/improved unit tests for StringEscapeUtils and CharSetUtils (I notice that there are

Re: [lang] So, about that 2.0....

2003-07-28 Thread Phil Steitz
--- Stephen Colebourne <[EMAIL PROTECTED]> wrote: > has anybody got anything outstanding? > > Stephen > I have been working on some additional/improved unit tests for StringEscapeUtils and CharSetUtils (I notice that there are no unit tests for CharSetUtils.translate and there is a small javadoc

RE: [lang] So, about that 2.0....

2003-07-28 Thread Gary Gregory
I cannot think of anything aside, maybe, from writing more unit tests to make sure null vs. "" vs. " " is handled as documented if documented. Gary -Original Message- From: Stephen Colebourne [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 16:32 To: Jakarta Commons Developers List