Skip to content

Commit

Permalink
adopt reviewer suggestion
Browse files Browse the repository at this point in the history
Signed-off-by: AndrewFG <[email protected]>
  • Loading branch information
andrewfg committed Nov 1, 2024
1 parent 9bce2b2 commit ef3e58f
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ public final class Units extends CustomUnits {
SimpleUnitFormat.getInstance().label(MILLIBAR, "mbar");
SimpleUnitFormat.getInstance().label(MILLIMETRE_OF_MERCURY, MILLIMETRE_OF_MERCURY.getSymbol());
SimpleUnitFormat.getInstance().label(MIRED, "MK⁻¹");
SimpleUnitFormat.getInstance().alias(MIRED, "mired");
SimpleUnitFormat.getInstance().alias(MIRED, "mirek");
SimpleUnitFormat.getInstance().label(PARTS_PER_BILLION, "ppb");
SimpleUnitFormat.getInstance().label(PARTS_PER_MILLION, "ppm");
SimpleUnitFormat.getInstance().label(PETABYTE, "PB");
Expand All @@ -319,10 +321,6 @@ public final class Units extends CustomUnits {
SimpleUnitFormat.getInstance().alias(MONTH, "mo");
SimpleUnitFormat.getInstance().alias(WEEK, "wk");
SimpleUnitFormat.getInstance().alias(YEAR, "y");

// other aliases
SimpleUnitFormat.getInstance().alias(MIRED, "mired");
SimpleUnitFormat.getInstance().alias(MIRED, "mirek");
}

private Units() {
Expand Down

0 comments on commit ef3e58f

Please sign in to comment.