提交 b7b58996 编写于 作者: M martin

6937842: Unreadable \uXXXX in javadoc

Summary: Replace \uXXXX by \u005CXXXX, or simply delete
Reviewed-by: sherman
上级 db9b00b4
...@@ -2551,8 +2551,8 @@ public final class String ...@@ -2551,8 +2551,8 @@ public final class String
* Examples are programming language identifiers, protocol keys, and HTML * Examples are programming language identifiers, protocol keys, and HTML
* tags. * tags.
* For instance, <code>"TITLE".toLowerCase()</code> in a Turkish locale * For instance, <code>"TITLE".toLowerCase()</code> in a Turkish locale
* returns <code>"t\u0131tle"</code>, where '\u0131' is the LATIN SMALL * returns <code>"t\u005Cu0131tle"</code>, where '\u005Cu0131' is the
* LETTER DOTLESS I character. * LATIN SMALL LETTER DOTLESS I character.
* To obtain correct results for locale insensitive strings, use * To obtain correct results for locale insensitive strings, use
* <code>toLowerCase(Locale.ENGLISH)</code>. * <code>toLowerCase(Locale.ENGLISH)</code>.
* <p> * <p>
...@@ -2714,8 +2714,8 @@ public final class String ...@@ -2714,8 +2714,8 @@ public final class String
* Examples are programming language identifiers, protocol keys, and HTML * Examples are programming language identifiers, protocol keys, and HTML
* tags. * tags.
* For instance, <code>"title".toUpperCase()</code> in a Turkish locale * For instance, <code>"title".toUpperCase()</code> in a Turkish locale
* returns <code>"T\u0130TLE"</code>, where '\u0130' is the LATIN CAPITAL * returns <code>"T\u005Cu0130TLE"</code>, where '\u005Cu0130' is the
* LETTER I WITH DOT ABOVE character. * LATIN CAPITAL LETTER I WITH DOT ABOVE character.
* To obtain correct results for locale insensitive strings, use * To obtain correct results for locale insensitive strings, use
* <code>toUpperCase(Locale.ENGLISH)</code>. * <code>toUpperCase(Locale.ENGLISH)</code>.
* <p> * <p>
......
...@@ -40,7 +40,7 @@ package java.util.zip; ...@@ -40,7 +40,7 @@ package java.util.zip;
* <blockquote><pre> * <blockquote><pre>
* try { * try {
* // Encode a String into bytes * // Encode a String into bytes
* String inputString = "blahblahblah\u20AC\u20AC"; * String inputString = "blahblahblah";
* byte[] input = inputString.getBytes("UTF-8"); * byte[] input = inputString.getBytes("UTF-8");
* *
* // Compress the bytes * // Compress the bytes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册