Skip to content

Commit

Permalink
CLDR-11155 Separate Volume_Metric and Volume_Other
Browse files Browse the repository at this point in the history
-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
  • Loading branch information
btangmu committed Feb 26, 2024
1 parent 4e855b7 commit c7b91c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ private PathHeader makePathHeader(RawData data, String path, String alt) {
}

private static Set<UnitConverter.UnitSystem> 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
Expand Down

0 comments on commit c7b91c8

Please sign in to comment.