From 970778700fc39c1f76db124874c2a9ad67d31501 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Wed, 3 Jul 2024 14:25:04 -0500 Subject: [PATCH] CLDR-17781 CheckChildren should skip null values (#3842) --- .../src/main/java/org/unicode/cldr/test/CheckChildren.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/cldr-code/src/main/java/org/unicode/cldr/test/CheckChildren.java b/tools/cldr-code/src/main/java/org/unicode/cldr/test/CheckChildren.java index 7e8ff509c05..b8f25328ddb 100644 --- a/tools/cldr-code/src/main/java/org/unicode/cldr/test/CheckChildren.java +++ b/tools/cldr-code/src/main/java/org/unicode/cldr/test/CheckChildren.java @@ -39,6 +39,10 @@ public CheckCLDR handleCheck( } catch (RuntimeException e) { throw e; } + if (otherValue == null) { + // This child didn't even have a value. Path may be an 'extra path'. + continue; + } if (!otherValue.equals(CldrUtility.NO_INHERITANCE_MARKER)) { tempSet.put(immediateChildren[i].getLocaleID(), otherValue); } else {