icu4j/icu4j-javadoc.patch

32 lines
1.8 KiB
Diff
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- a/main/classes/core/src/com/ibm/icu/number/NumberRangeFormatter.java 2021-04-07 16:50:27.000000000 -0600
+++ b/main/classes/core/src/com/ibm/icu/number/NumberRangeFormatter.java 2021-08-24 09:51:20.411499180 -0600
@@ -20,7 +20,7 @@ import com.ibm.icu.util.ULocale;
* .locale(ULocale.UK)
* .formatRange(750, 1.2)
* .toString();
- * // => "750 m - 1.2 km"
+ * // → "750 m - 1.2 km"
* </pre>
* <p>
* Like NumberFormatter, NumberRangeFormatter instances (i.e., LocalizedNumberRangeFormatter
--- a/main/classes/core/src/com/ibm/icu/text/SpoofChecker.java 2021-08-24 09:24:05.359581150 -0600
+++ b/main/classes/core/src/com/ibm/icu/text/SpoofChecker.java 2021-08-24 09:54:31.851818377 -0600
@@ -129,7 +129,7 @@ import com.ibm.icu.util.ULocale;
* SpoofChecker sc = new SpoofChecker.Builder()
* .setAllowedChars(SpoofChecker.RECOMMENDED.cloneAsThawed().addAll(SpoofChecker.INCLUSION))
* .setRestrictionLevel(SpoofChecker.RestrictionLevel.MODERATELY_RESTRICTIVE)
- * .setChecks(SpoofChecker.ALL_CHECKS &~ SpoofChecker.CONFUSABLE)
+ * .setChecks(SpoofChecker.ALL_CHECKS &amp;~ SpoofChecker.CONFUSABLE)
* .build();
* boolean result = sc.failsChecks("pаypаl"); // with Cyrillic 'а' characters
* System.out.println(result); // true
@@ -150,7 +150,7 @@ import com.ibm.icu.util.ULocale;
* SpoofChecker sc = new SpoofChecker.Builder()
* .setAllowedChars(SpoofChecker.RECOMMENDED.cloneAsThawed().addAll(SpoofChecker.INCLUSION))
* .setRestrictionLevel(SpoofChecker.RestrictionLevel.MODERATELY_RESTRICTIVE)
- * .setChecks(SpoofChecker.ALL_CHECKS &~ SpoofChecker.CONFUSABLE)
+ * .setChecks(SpoofChecker.ALL_CHECKS &amp;~ SpoofChecker.CONFUSABLE)
* .build();
* SpoofChecker.CheckResult checkResult = new SpoofChecker.CheckResult();
* boolean result = sc.failsChecks("pаypаl", checkResult);