commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject Re: [lang] Pre 2.0 checks
Date Tue, 01 Jul 2003 18:41:38 GMT

+1 to deprecating them. StringEscapeUtils is a good enough name to imply
that they are there.

On Sat, 28 Jun 2003, Alex Chaffee / Purple Technology wrote:

> On Tue, Jun 24, 2003 at 12:43:33AM +0100, Stephen Colebourne wrote:
> > TODO
> > 1) StringUtils.unescape(String) - this is merely forwarding to
> > StringEscapeUtils and should surely be deprecated?
>
> So does StringUtils.escape.  Should that be deprecated as well?
>
> For the record, there's an argument to be made that they should *not*
> be deprecated.  Since StringUtils has to do with Java strings,
> StringUtils.escape/unescape does *Java* escaping.  OTOH,
> StringEscapeUtils has named methods for several types of escaping,
> including HTML, XML, Java, JavaScript, and SQL.
>
> Just because it delegates does not mean it should be deprecated.
>
> Note that I'm not convinced of this argument, but I wanted to raise
> it.
>
>  - A
>
> --
> Alex Chaffee                               mailto:alex@jguru.com
> Purple Technology - Code and Consulting    http://www.purpletech.com/
> jGuru - Java News and FAQs                 http://www.jguru.com/alex/
> Gamelan - the Original Java site           http://www.gamelan.com/
> Stinky - Art and Angst                     http://www.stinky.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


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


Mime
View raw message