Skip to content

Commit

Permalink
update to CLDR 46 & ICU 76 (#984)
Browse files Browse the repository at this point in the history
* update to CLDR 46 & ICU 76
* remove utilities-for-cldr from pom files
* move UnicodeMap from com.ibm.icu.dev.util to com.ibm.icu.impl
* spotless
* vanilla 76.1
  • Loading branch information
markusicu authored Dec 7, 2024
1 parent 024167e commit 9eaef44
Show file tree
Hide file tree
Showing 198 changed files with 223 additions and 243 deletions.
5 changes: 0 additions & 5 deletions UnicodeJsps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@
<groupId>com.ibm.icu</groupId>
<artifactId>icu4j</artifactId>
</dependency>

<dependency>
<groupId>com.ibm.icu</groupId>
<artifactId>utilities-for-cldr</artifactId>
</dependency>
<!-- cldr -->
<dependency>
<groupId>org.unicode.cldr</groupId>
Expand Down
2 changes: 1 addition & 1 deletion UnicodeJsps/src/main/java/org/unicode/jsp/Annotations.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import com.ibm.icu.text.UnicodeSet;
import java.util.Collections;
Expand Down
2 changes: 1 addition & 1 deletion UnicodeJsps/src/main/java/org/unicode/jsp/BidiCharMap.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** */
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.lang.UProperty;
import com.ibm.icu.text.UnicodeSet;
Expand Down
2 changes: 1 addition & 1 deletion UnicodeJsps/src/main/java/org/unicode/jsp/Confusables.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import com.ibm.icu.text.Normalizer;
import com.ibm.icu.text.Normalizer.Mode;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.dev.util.UnicodeMapIterator;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.UnicodeMapIterator;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.text.UnicodeSet;
import com.ibm.icu.text.UnicodeSetIterator;
Expand Down
2 changes: 1 addition & 1 deletion UnicodeJsps/src/main/java/org/unicode/jsp/NFM.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import java.util.regex.Pattern;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.lang.UProperty;
import com.ibm.icu.lang.UScript;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Multimap;
import com.google.common.collect.TreeMultimap;
import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.lang.CharSequences;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.text.Normalizer2;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import com.ibm.icu.lang.CharSequences;
import com.ibm.icu.text.UnicodeSet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.text.UnicodeSet;
import java.io.DataInput;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.Row.R4;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.lang.UProperty;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import com.google.common.base.Joiner;
import com.google.common.collect.Multimap;
import com.google.common.collect.TreeMultimap;
import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.lang.UProperty.NameChoice;
import com.ibm.icu.text.CollationElementIterator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.unicode.jsptest;

import com.ibm.icu.dev.test.TestFmwk;
import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.text.DateFormat;
Expand Down
2 changes: 1 addition & 1 deletion UnicodeJsps/src/test/java/org/unicode/jsptest/TestJsp.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.jsptest;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.lang.UProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package org.unicode.jsptest;

import com.google.common.base.Splitter;
import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.Relation;
import com.ibm.icu.impl.Row.R4;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.lang.UProperty;
Expand Down
14 changes: 4 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
<properties>
<!--
For ICU versions, see https://github.com/orgs/unicode-org/packages?repo_name=icu
Note that we can't use the general ICU maven packages, because utilities isn't exported (yet).
-->
<icu.version>76.0.1-SNAPSHOT</icu.version>
or use vanilla *released* ICU versions like 76.1 which come from Maven Central.
-->
<icu.version>76.1</icu.version>

<!--
For CLDR versions, see https://github.com/orgs/unicode-org/packages?repo_name=cldr
-->
<cldr.version>0.0.0-SNAPSHOT-880c12f291</cldr.version>
<cldr.version>0.0.0-SNAPSHOT-e1d37acce5</cldr.version>


<!-- these two set the JDK version for source and target -->
Expand Down Expand Up @@ -71,12 +71,6 @@
<artifactId>icu4j</artifactId>
<version>${icu.version}</version>
</dependency>

<dependency>
<groupId>com.ibm.icu</groupId>
<artifactId>utilities-for-cldr</artifactId>
<version>${icu.version}</version>
</dependency>
<!-- cldr -->
<dependency>
<groupId>org.unicode.cldr</groupId>
Expand Down
4 changes: 0 additions & 4 deletions unicodetools-testutils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
<groupId>com.ibm.icu</groupId>
<artifactId>icu4j</artifactId>
</dependency>
<dependency>
<groupId>com.ibm.icu</groupId>
<artifactId>utilities-for-cldr</artifactId>
</dependency>
<dependency>
<groupId>org.unicode.cldr</groupId>
<artifactId>cldr-code</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions unicodetools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@
<groupId>com.ibm.icu</groupId>
<artifactId>icu4j</artifactId>
</dependency>

<dependency>
<groupId>com.ibm.icu</groupId>
<artifactId>utilities-for-cldr</artifactId>
</dependency>
<dependency>
<groupId>org.unicode.cldr</groupId>
<artifactId>cldr-code</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import com.google.common.base.Objects;
import com.google.common.base.Splitter;
import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.text.UnicodeSet;
import java.util.List;
import java.util.TreeSet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.unicode.draft;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.IterableComparator;
import com.ibm.icu.impl.Relation;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.text.Collator;
import com.ibm.icu.text.Normalizer;
import com.ibm.icu.text.Transform;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.draft;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.text.Collator;
import com.ibm.icu.text.Normalizer2;
import com.ibm.icu.text.Normalizer2.Mode;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.unicode.draft;

import com.ibm.icu.dev.util.CollectionUtilities;
import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.lang.UProperty;
import com.ibm.icu.text.UnicodeSet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.unicode.draft;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.Row.R2;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.lang.UProperty;
import com.ibm.icu.text.Normalizer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
package org.unicode.draft;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.text.DateFormat;
import com.ibm.icu.text.DecimalFormat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

import com.google.common.base.Splitter;
import com.ibm.icu.dev.util.CollectionUtilities;
import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.dev.util.UnicodeMap.EntryRange;
import com.ibm.icu.impl.Relation;
import com.ibm.icu.impl.Row;
import com.ibm.icu.impl.Row.R2;
import com.ibm.icu.impl.Row.R4;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap.EntryRange;
import com.ibm.icu.text.Collator;
import com.ibm.icu.text.RuleBasedCollator;
import com.ibm.icu.text.Transform;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.unicode.draft;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.Row;
import com.ibm.icu.impl.Row.R2;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.text.UTF16;
import com.ibm.icu.text.UnicodeSet;
import java.io.BufferedReader;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package org.unicode.draft;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.dev.util.UnicodeMapIterator;
import com.ibm.icu.impl.Punycode;
import com.ibm.icu.impl.Row;
import com.ibm.icu.impl.Row.R2;
import com.ibm.icu.impl.Row.R5;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.UnicodeMapIterator;
import com.ibm.icu.impl.UnicodeRegex;
import com.ibm.icu.impl.Utility;
import com.ibm.icu.lang.UCharacter;
Expand Down
2 changes: 1 addition & 1 deletion unicodetools/src/main/java/org/unicode/draft/Ids2.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.unicode.draft;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.Relation;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.text.Collator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.draft;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.text.UnicodeSet;
import java.io.BufferedReader;
import java.io.FileReader;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.draft;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.text.UnicodeSet;
import java.io.DataInput;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.draft;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.text.UnicodeSet;
import com.ibm.icu.text.UnicodeSetIterator;
import java.io.DataOutput;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
package org.unicode.draft;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import com.ibm.icu.text.StringTransform;
import com.ibm.icu.text.UTF16;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.idna;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.text.UnicodeSet;
import org.unicode.cldr.draft.FileUtilities;
import org.unicode.props.IndexUnicodeProperties;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package org.unicode.idna;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.Row;
import com.ibm.icu.impl.Row.R2;
import com.ibm.icu.impl.Row.R3;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.text.DateFormat;
import com.ibm.icu.text.SimpleDateFormat;
import com.ibm.icu.text.UTF16;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.unicode.idna;

import com.ibm.icu.dev.util.CollectionUtilities;
import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.lang.CharSequences;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.text.DateFormat;
Expand Down
2 changes: 1 addition & 1 deletion unicodetools/src/main/java/org/unicode/idna/Idna.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.idna;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.text.StringPrepParseException;
import com.ibm.icu.text.StringTransform;
import com.ibm.icu.text.UnicodeSet;
Expand Down
2 changes: 1 addition & 1 deletion unicodetools/src/main/java/org/unicode/idna/Idna2008.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.idna;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.text.UTF16;
import com.ibm.icu.text.UnicodeSet;

Expand Down
2 changes: 1 addition & 1 deletion unicodetools/src/main/java/org/unicode/idna/Idna2008t.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.idna;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.text.UnicodeSet;
import java.io.BufferedReader;
import java.io.InputStreamReader;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** */
package org.unicode.idna;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import com.ibm.icu.text.UTF16;
import com.ibm.icu.text.UnicodeSet;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
*/
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.Row;
import com.ibm.icu.impl.Row.R2;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.lang.UProperty;
import com.ibm.icu.text.Normalizer;
Expand Down
Loading

0 comments on commit 9eaef44

Please sign in to comment.