Skip to content

Commit 77ff991

Browse files
authored
Drop ICUProperty (#1250)
* Try to get rid of ICUProperty(Factory) * Remove unused UnicodePropertyX * spotless
1 parent 589f08e commit 77ff991

File tree

15 files changed

+18
-1600
lines changed

15 files changed

+18
-1600
lines changed

UnicodeJsps/src/main/java/org/unicode/jsp/CreateInversions.java

Lines changed: 0 additions & 249 deletions
This file was deleted.

UnicodeJsps/src/test/java/org/unicode/jsptest/TestIcuProperties.java

Lines changed: 0 additions & 49 deletions
This file was deleted.

unicodetools/src/main/java/org/unicode/draft/FrequencyData2.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
import org.unicode.cldr.util.CLDRPaths;
2424
import org.unicode.cldr.util.Counter;
2525
import org.unicode.cldr.util.PatternCache;
26-
import org.unicode.jsp.ICUPropertyFactory;
26+
import org.unicode.props.IndexUnicodeProperties;
27+
import org.unicode.props.UcdProperty;
2728
import org.unicode.props.UnicodeProperty;
2829
import org.unicode.text.utility.Utility;
2930

@@ -426,7 +427,7 @@ public static void main(String[] args) throws IOException {
426427

427428
data.showData2(
428429
"Age",
429-
ICUPropertyFactory.make().getProperty("age"),
430+
IndexUnicodeProperties.make().getProperty(UcdProperty.Age),
430431
new UnicodeSet("[[:cn:][:co:]]"),
431432
true);
432433
data.showData("Script/Cat", UCharacter.getPropertyEnum("script"), NO_SCRIPT);

0 commit comments

Comments
 (0)