Author: bayard Date: Mon Jul 3 12:19:51 2006 New Revision: 418833 URL: http://svn.apache.org/viewvc?rev=418833&view=rev Log: Fixed escaping of backslash-u in javadoc notes for issue reported in LANG-66
Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java?rev=418833&r1=418832&r2=418833&view=diff ============================================================================== --- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java (original) +++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java Mon Jul 3 12:19:51 2006 @@ -567,7 +567,7 @@ * Does not support DTDs or external entities.</p> * * <p>Note that unicode characters greater than 0x7f are currently escaped to - * their numerical \u equivalent. This may change in future releases. </p> + * their numerical \\u equivalent. This may change in future releases. </p> * * @param writer the writer receiving the unescaped string, not null * @param str the <code>String</code> to escape, may be null @@ -596,7 +596,7 @@ * Does not support DTDs or external entities.</p> * * <p>Note that unicode characters greater than 0x7f are currently escaped to - * their numerical \u equivalent. This may change in future releases. </p> + * their numerical \\u equivalent. This may change in future releases. </p> * * @param str the <code>String</code> to escape, may be null * @return a new escaped <code>String</code>, <code>null</code> if null string input @@ -618,7 +618,7 @@ * <p>Supports only the five basic XML entities (gt, lt, quot, amp, apos). * Does not support DTDs or external entities.</p> * - * <p>Note that numerical \u unicode codes are unescaped to their respective + * <p>Note that numerical \\u unicode codes are unescaped to their respective * unicode characters. This may change in future releases. </p> * * @param writer the writer receiving the unescaped string, not null @@ -645,7 +645,7 @@ * <p>Supports only the five basic XML entities (gt, lt, quot, amp, apos). * Does not support DTDs or external entities.</p> * - * <p>Note that numerical \u unicode codes are unescaped to their respective + * <p>Note that numerical \\u unicode codes are unescaped to their respective * unicode characters. This may change in future releases. </p> * * @param str the <code>String</code> to unescape, may be null --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]