Skip to content

Commit

Permalink
91: HeatRequirementDemo is broken by Indriya 2.0.3
Browse files Browse the repository at this point in the history
Task-Url: #91
  • Loading branch information
keilw committed Jul 13, 2020
1 parent 2402881 commit e1daf7e
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ public static void main(String[] args) {
ENERGY_NEEDED_PER_MILLILITRE_AND_KELVIN
.multiply(givenVolume) // 1000 Litre
.multiply(deltaT) // 20ºC
.asType(Energy.class)
;
.asType(Energy.class);

// convert to kWh
final Quantity<Energy> kWh = energyRequirementToHeatUpGivenVolume
Expand All @@ -113,7 +112,7 @@ public static void main(String[] args) {
static ResourceBundle resourceBundle;

private static void print(final String format, final Object ...args) {
if(resourceBundle==null) {
if(resourceBundle == null) {
// using German locale
resourceBundle = ResourceBundle.getBundle("Labels", Locale.GERMAN);
}
Expand Down

0 comments on commit e1daf7e

Please sign in to comment.