Skip to content

Commit

Permalink
CLDR-14997 Suppress Special in charts (#2435)
Browse files Browse the repository at this point in the history
  • Loading branch information
macchiati committed Oct 10, 2022
1 parent 8e1970b commit 77456f8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,9 @@ private Relation<PathHeader, String> fillData(String directory, String file, Str
if (pathForValues != null) {
for (String pathForValue : pathForValues) {
PathHeader pathHeader = phf.fromPath(pathForValue);
if (pathHeader.getPageId() == PageId.Suppress) {
continue;
}
Splitter splitter = DtdData.getValueSplitter(pathPlain);
for (String line : splitter.split(value)) {
// special case # in transforms
Expand All @@ -1098,6 +1101,9 @@ private Relation<PathHeader, String> fillData(String directory, String file, Str
for (Entry<String, Collection<String>> entry : extras.asMap().entrySet()) {
final String extraPath = entry.getKey();
final PathHeader pathHeaderExtra = phf.fromPath(extraPath);
if (pathHeaderExtra.getPageId() == PageId.Suppress) {
continue;
}
final Collection<String> extraValue = entry.getValue();
if (isExtraSplit(extraPath)) {
for (String items : extraValue) {
Expand Down

0 comments on commit 77456f8

Please sign in to comment.