commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <>
Subject Re: [LANG] unnecessary boxing in StringEscapeUtils etc.
Date Sat, 02 Jul 2011 04:06:55 GMT
On Thu, May 19, 2011 at 6:30 AM, Gary Gregory <> wrote:
> On Thu, May 19, 2011 at 12:47 AM, Henri Yandell <> wrote:
>> *grumbles that they were ints and a previous RC candidate saw it
>> change to Range* :)
> Change it back! ;)

Tongue in cheek as it might be, I think this is the right direction.

Forcing it onto the Range API made it less useable, so best to stay
with the original more useable code even if it implies some redundancy

It might imply that we need subclasses to Ranges; but I think int and
char are a wee bit special and it's no reason to doubt the Range

I've rolled back the commit:

svn ci -m "Reverting r1090111 - moving the text.translate escapers
back from using Range to replicating parts of the Range API. See the
list for details ('unnecessary boxing in StringEscapeUtils etc'), the
move to Range was an uncomfortable fit. "

Sending        src/main/java/org/apache/commons/lang3/
Sending        src/main/java/org/apache/commons/lang3/text/translate/
Sending        src/main/java/org/apache/commons/lang3/text/translate/
Sending        src/test/java/org/apache/commons/lang3/text/translate/
Sending        src/test/java/org/apache/commons/lang3/text/translate/
Transmitting file data .....
Committed revision 1142151.


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

View raw message