32 lines
1.8 KiB
Diff
32 lines
1.8 KiB
Diff
|
--- 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 &~ 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 &~ SpoofChecker.CONFUSABLE)
|
|||
|
* .build();
|
|||
|
* SpoofChecker.CheckResult checkResult = new SpoofChecker.CheckResult();
|
|||
|
* boolean result = sc.failsChecks("pаypаl", checkResult);
|