Skip to content

Commit

Permalink
Applied spotless formatting due to stricter requirements for the late…
Browse files Browse the repository at this point in the history
…st spotless plugin

Signed-off-by: dhoard <[email protected]>
  • Loading branch information
dhoard committed Jan 7, 2025
1 parent f7660cb commit 906bf58
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static String convertUnit(Unit unit) {
return null;
}
switch (unit.toString()) {
// Time
// Time
case "days":
return "d";
case "hours":
Expand All @@ -68,7 +68,7 @@ static String convertUnit(Unit unit) {
return "us";
case "nanoseconds":
return "ns";
// Bytes
// Bytes
case "bytes":
return "By";
case "kibibytes":
Expand All @@ -87,7 +87,7 @@ static String convertUnit(Unit unit) {
return "GBy";
case "terabytes":
return "TBy";
// SI
// SI
case "meters":
return "m";
case "volts":
Expand All @@ -100,14 +100,14 @@ static String convertUnit(Unit unit) {
return "W";
case "grams":
return "g";
// Misc
// Misc
case "celsius":
return "Cel";
case "hertz":
return "Hz";
case "percent":
return "%";
// default
// default
default:
return unit.toString();
}
Expand Down

0 comments on commit 906bf58

Please sign in to comment.