.filter(t -> t.getCldrType() == LDML)
.flatMap(t -> TYPE_TO_DIR.get(t).stream())
.collect(toImmutableList());
+ if (splitDirs.isEmpty()) {
+ return;
+ }
+
+ String cldrVersion = config.getCldrVersion();
+ if (splitDirs.isEmpty()) {
+ return;
+ }
+
Map<IcuLocaleDir, DependencyGraph> graphMetadata = new HashMap<>();
- splitDirs.forEach(d -> graphMetadata.put(d, new DependencyGraph()));
+ splitDirs.forEach(d -> graphMetadata.put(d, new DependencyGraph(cldrVersion)));
SetMultimap<IcuLocaleDir, String> writtenLocaleIds = HashMultimap.create();
Path baseDir = config.getOutputDir();