You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Henri Yandell <ba...@generationjava.com> on 2003/07/01 20:41:38 UTC
Re: [lang] Pre 2.0 checks
+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