commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Colebourne <>
Subject Re: [lang] Entities question
Date Tue, 18 Apr 2006 22:18:28 GMT
Henri Yandell wrote:
> Any ideas why there are unescape(String);String and unescape(Writer,
> String) implementations in Entities - independently implemented? They
> look like clones of each other - just one has nicer variable names.

Typiclally you need a StringBuffer and a Writer variant of the same 
method otherwise you have to catch an exception and create an object.

Depends how much you are fussed about object creation or impossible 

In Joda-Time we often have both implementations even with code duplication.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message