Fix default unit for Energy (#3213)

Signed-off-by: Jan N. Klug <github@klug.nrw>
pull/3215/head
J-N-K 2022-12-11 12:06:49 +01:00 committed by GitHub
parent 94b8c2a540
commit 08d7d13c9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ public class I18nProviderImpl
addDefaultUnit(ElectricInductance.class, Units.HENRY); addDefaultUnit(ElectricInductance.class, Units.HENRY);
addDefaultUnit(ElectricPotential.class, Units.VOLT); addDefaultUnit(ElectricPotential.class, Units.VOLT);
addDefaultUnit(ElectricResistance.class, Units.OHM); addDefaultUnit(ElectricResistance.class, Units.OHM);
addDefaultUnit(Energy.class, Units.JOULE); addDefaultUnit(Energy.class, Units.KILOWATT_HOUR);
addDefaultUnit(Force.class, Units.NEWTON); addDefaultUnit(Force.class, Units.NEWTON);
addDefaultUnit(Frequency.class, Units.HERTZ); addDefaultUnit(Frequency.class, Units.HERTZ);
addDefaultUnit(Illuminance.class, Units.LUX); addDefaultUnit(Illuminance.class, Units.LUX);