mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
Merge pull request #4 from hugovdm/units-staging
ICU-13489 Early-return from ProcessLdml if it's not going to do anything.
This commit is contained in:
commit
e156a903f7
1 changed files with 4 additions and 0 deletions
|
@ -268,6 +268,10 @@ public final class LdmlConverter {
|
|||
.flatMap(t -> TYPE_TO_DIR.get(t).stream())
|
||||
.collect(toImmutableList());
|
||||
|
||||
if (splitDirs.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Map<IcuLocaleDir, DependencyGraph> graphMetadata = new HashMap<>();
|
||||
splitDirs.forEach(d -> graphMetadata.put(d, new DependencyGraph()));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue