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=21952>. 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=21952 [lang] Improved tests, javadoc for CharSetUtils, StringEscapeUtils Summary: [lang] Improved tests, javadoc for CharSetUtils, StringEscapeUtils Product: Commons Version: Nightly Builds Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Lang AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The attached patch improves test coverage for CharSetUtils and StringEscapeUtils (mostly "" and null-related) and fixes a minor javadoc error in CharSetUtils.translate. Currently, charSetUtils.translate throws ArrayOutOfBoundsException if the repl string has positive length, but the with string is empty. The tests and javadoc change in the patch just document this behavior. It might make sense to either throw something else in this situation or to modify the behavior. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]