Skip to content

Commit a3c4e11

Browse files
committed
CLDR-18217 Fix two merge conflicts
-new HashSet<>(getRawExtraPaths()) is just slightly shorter code -To get root LSR codes, use fullIterable, not necessary to skip any paths
1 parent 88e1af9 commit a3c4e11

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tools/cldr-code/src/main/java/org/unicode/cldr/util/CLDRFile.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3144,8 +3144,7 @@ public String getWinningPath(String path) {
31443144
* @return
31453145
*/
31463146
public Collection<String> getExtraPaths() {
3147-
Set<String> toAddTo = new HashSet<>();
3148-
toAddTo.addAll(getRawExtraPaths());
3147+
Set<String> toAddTo = new HashSet<>(getRawExtraPaths());
31493148
for (String path : this.iterableWithoutExtras()) {
31503149
toAddTo.remove(path);
31513150
}

tools/cldr-code/src/test/java/org/unicode/cldr/unittest/TestCoverageLevel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ public void testLSR() {
10731073

10741074
// Get root LSR codes
10751075

1076-
for (String path : root.iterableDefault()) {
1076+
for (String path : root.fullIterable()) {
10771077
if (!path.startsWith("//ldml/localeDisplayNames/")) {
10781078
continue;
10791079
}

0 commit comments

Comments
 (0)