From: Craig Cornelius Date: Sat, 28 Jan 2017 00:31:16 +0000 (+0000) Subject: ICU-12824 Update escape sequences for JavaDoc X-Git-Tag: milestone-59-0-1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c21c41ac035a4ddc1f2c044dea24e2fa43b4f887;p=icu ICU-12824 Update escape sequences for JavaDoc X-SVN-Rev: 39610 --- diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/MessageFormat.java b/icu4j/main/classes/core/src/com/ibm/icu/text/MessageFormat.java index 9b2dd308e49..f31f5d52c02 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/MessageFormat.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/MessageFormat.java @@ -139,8 +139,8 @@ import com.ibm.icu.util.ULocale.Category; * and unquoted {curly braces} must occur in matched pairs. * * - *

Recommendation: Use the real apostrophe (single quote) character \u2019 for - * human-readable text, and use the ASCII apostrophe (\u0027 ' ) + *

Recommendation: Use the real apostrophe (single quote) character \\u2019 for + * human-readable text, and use the ASCII apostrophe (\\u0027 ' ) * only in program syntax, like quoting in MessageFormat. * See the annotations for U+0027 Apostrophe in The Unicode Standard. * diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/UnicodeSet.java b/icu4j/main/classes/core/src/com/ibm/icu/text/UnicodeSet.java index 38510c39899..5f6e140ac30 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/UnicodeSet.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/UnicodeSet.java @@ -3409,8 +3409,8 @@ public class UnicodeSet extends UnicodeFilter implements Iterable, Compa * property alias, or a special ID. Special IDs are matched * loosely and correspond to the following sets: * - * "ANY" = [\u0000-\U0010FFFF], - * "ASCII" = [\u0000-\u007F]. + * "ANY" = [\\u0000-\\U0010FFFF], + * "ASCII" = [\\u0000-\\u007F]. * * @param valueAlias a value alias, either short or long. The * name is matched loosely. See PropertyValueAliases.txt for