From c7b91c8d8e5d0578250c5143d33227e9e6280c9a Mon Sep 17 00:00:00 2001 From: btangmu Date: Mon, 26 Feb 2024 17:00:22 -0500 Subject: [PATCH] CLDR-11155 Separate Volume_Metric and Volume_Other -Remove redundant parameter in PathHeader constructor, reducing from 9 to 8 (still excessive) -New subroutines makePathHeader and getVolumePageId -Change example in Dashboard.java from Volume to Area -Comments --- .../src/main/java/org/unicode/cldr/util/PathHeader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cldr-code/src/main/java/org/unicode/cldr/util/PathHeader.java b/tools/cldr-code/src/main/java/org/unicode/cldr/util/PathHeader.java index ad86df3555b..92cdb0435e4 100644 --- a/tools/cldr-code/src/main/java/org/unicode/cldr/util/PathHeader.java +++ b/tools/cldr-code/src/main/java/org/unicode/cldr/util/PathHeader.java @@ -781,7 +781,7 @@ private PathHeader makePathHeader(RawData data, String path, String alt) { } private static Set METRIC = - Set.of(UnitConverter.UnitSystem.metric, UnitConverter.UnitSystem.metric_adjacent); + Set.of(UnitConverter.UnitSystem.metric, UnitConverter.UnitSystem.metric_adjacent); private PageId getVolumePageId(String path) { // Extract the unit from the path. For example, if path is