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=27306>. 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=27306 [lang][patch] Javadoc fixes for CharSetUtils Summary: [lang][patch] Javadoc fixes for CharSetUtils Product: Commons Version: Nightly Builds Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: Other Component: Lang AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The attached patch fixes the Javadoc for three methods in CharSetUtils. Incidentally the @deprecated tag for translate(String, String, String) suggests StringUtils#replaceChars(String, String, String) as a replacement but StringUtils#replaceChars behaves differently when 'searchChars' is longer than 'replaceChars'. CharUtils#translate will use the last char of the replacement string whereas StringUtils#replaceChars will delete. Is this difference worth noting? * @deprecated Use [EMAIL PROTECTED] StringUtils#replaceChars(String, String, String)}. * Method will be removed in Commons Lang 3.0. */ public static String translate(String str, String searchChars, String replaceChars) { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]