DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25454>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25454

new StringUtils.replaceChars behaves differently from old CharSetUtils.translate

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



------- Additional Comments From [EMAIL PROTECTED]  2003-12-11 22:23 -------
Well, this is a tricky one. I feel the basic problem is that the Javadoc
underspecifies the behavior of both methods, so perhaps we could discuss first
what the behavior /should be/. 

The heart of the problem is that the CharSetUtils method is a one pass map-style
of method, while the StringUtils method is not, it uses a nested loop, which is
somewhat contradictory to the Javadoc comment of doing the work "in one go".

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to