Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,7 @@ public void TestDisplayNameCollisions() {
maps[nameTypeIndex].put(value, xpath);
continue;
}
String theName = nameType.getNameTypeName();
collisions.add(theName + "\t" + value + "\t" + xpath + "\t" + xpath2);
collisions.add(nameType + "\t" + value + "\t" + xpath + "\t" + xpath2);
surveyInfo.add(
locale
+ "\t"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private static void printCodes(
"\t\t<hdterm>"
+ TransliteratorUtilities.toXML.transliterate(ename)
+ "</hdterm>\t<!-- "
+ TransliteratorUtilities.toXML.transliterate(nameType.getNameName())
+ TransliteratorUtilities.toXML.transliterate(nameType.toString())
+ ": "
+ id
+ " -->"); // English
Expand Down
26 changes: 0 additions & 26 deletions tools/cldr-code/src/main/java/org/unicode/cldr/util/CLDRFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
*/
package org.unicode.cldr.util;

import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableMap.Builder;
import com.google.common.collect.ImmutableSet;
import com.google.common.util.concurrent.UncheckedExecutionException;
import com.ibm.icu.impl.Relation;
Expand Down Expand Up @@ -2361,30 +2359,6 @@ public static String getLongTzid(String code) {
return code;
}

static final ImmutableMap<String, String> FIX_KEY_NAME;

static {
Builder<String, String> temp = ImmutableMap.builder();
for (String s :
Arrays.asList(
"colAlternate",
"colBackwards",
"colCaseFirst",
"colCaseLevel",
"colNormalization",
"colNumeric",
"colReorder",
"colStrength")) {
temp.put(s.toLowerCase(Locale.ROOT), s);
}
FIX_KEY_NAME = temp.build();
}

static String fixKeyName(String code) {
String result = FIX_KEY_NAME.get(code);
return result == null ? code : result;
}

/** For use in getting short names. */
public static final Transform<String, String> SHORT_ALTS =
new Transform<>() {
Expand Down
Loading
Loading