Looking at http://en.wikipedia.org/wiki/Text_normalization - I don't
buy the 'usually' below. I think it's largely a 'what you make decide
it means' world. Leaving the code unchanged.

Hen

On Mon, Aug 16, 2010 at 7:04 PM, Henri Yandell <flame...@gmail.com> wrote:
> An item of feedback from Joerg Wassmer's comment to a Javalobby article:
>
> (http://java.dzone.com/articles/first-look-at-commons-lang-3)
>
> "normalizeSpace" should by called "collapse" or alike. "Normalizing"
> usually is only the task where the string is getting trimmed, and
> where each whitespace and control character is getting replaced by a
> space. Normalizing plus the replacement of subsequent whitespaces by a
> single space is called "collapsing". See
> javax.xml.bind.annotation.adapters.CollapsedStringAdapter and
> NormalizedStringAdapter.
>
> Referring to StringUtils.
>
> I don't know about the 'usually', but I do like the name collapse.
>
> Hen
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to