commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell" <>
Subject [lang] Entities question
Date Tue, 18 Apr 2006 07:29:06 GMT
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.

Seems to me that:

a) One should call the other.
b) One could be deleted (given that Entities isn't public).

In the latter case, there are two users of the methods: unescapeHtml
calls the Writer,String and unescapeXml calls the String; so we would
delete one and make the two unescapeXxx methods call the same method.

Same applies for the escape() variants.


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

View raw message