Hi,

Turbine will use this stuff (some of it comes from 
Turbine) post 2.3 and we can simply adapt to the names. I'd like to have
the class in the 2.0 lang, though, so we don't have to drag it around 
with the Turbine core code.

On Sat, 2003-08-16 at 18:58, Henri Yandell wrote:
> Henning, as the major person wanting WordWrapUtils, you need to read this
> :)
> 
> It's the only blocker on releasing Lang 2.0 at the moment, so currently
> we're planning to pull the class rather than hold things up more.
> 
> We won't be releasing until Tuesday earliest [and I suspect this will push
> it back a day or two] so unless you're on holiday you should have time to
> raise an objection.
> 
> Thanks,
> 
> Hen
> 
> ---------- Forwarded message ----------
> Date: Sat, 16 Aug 2003 11:53:14 +0100
> From: Stephen Colebourne <[EMAIL PROTECTED]>
> Reply-To: Jakarta Commons Developers List <[EMAIL PROTECTED]>
> To: Jakarta Commons Developers List <[EMAIL PROTECTED]>
> Subject: [lang] Words - for 2.0
> 
> In examining the release, I found I need to annoy everyone again.
> 
> WordWrapUtils is broken.
> 
> The algorithm relies on a newLineChars parameter that is used for two
> purposes.
> 1) Splitting the input string
> 2) Adding newlines to the output string
> 
> This is a new class, so it should either be pulled (preferred) or fixed (not
> preferred, as there are various issues)

Putting this into a new class would be fine. I know of at least another
potential user for this - commons-mail. Also a similar algorithm is used
in one of the JSP taglibs, this could use this new class, too. Just
pulling it would mean that all of them are stuck with their own, buggy
implementations for a while. 

> 
> ---
> Related issue - WordWrapUtils is too specific a name.
> I propose:
> 1) changing it to WordUtils (or StringWordUtils)

+1

> 2) moving capitalizeAllWords to WordUtils

+1

> 3) moving uncapitalizeAllWords to WordUtils

+1 

> 4) moving swapCase to WordUtils

+1 Let's get some flesh in there.
> 
> This would help reduce the size of StringUtils, and provide much better
> functional grouping. There is lots we can do with words. (Of course you
> could argue for a separate [text] project, but I doubt there is that much.)
> 
> I would like to do this for 2.0, as otherwise users of capitaliseAllWords
> will have to change twice. However we could say that is a small group of
> people and postpone the change to 2.1.
> 
> Opinions?

Thanks for your input, Stephen, it's very welcome.

        Regards
                Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     [EMAIL PROTECTED]

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   [EMAIL PROTECTED]
D-91054 Buckenhof     Fax.: 09131 / 50654-20   


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to