From e831a9ac76b5dcf2d10bdd989ae768a6ad5be70e Mon Sep 17 00:00:00 2001 From: Werner Keil Date: Sat, 25 Jul 2020 19:26:07 +0200 Subject: [PATCH] 94: Translate Hurricane Demo Task-Url: https://github.com/unitsofmeasurement/uom-demos/issues/94 --- .../java/tech/uom/demo/systems/common/ThePerfectStorm.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/console/systems/common/src/main/java/tech/uom/demo/systems/common/ThePerfectStorm.java b/console/systems/common/src/main/java/tech/uom/demo/systems/common/ThePerfectStorm.java index 37036722..1a6c0247 100644 --- a/console/systems/common/src/main/java/tech/uom/demo/systems/common/ThePerfectStorm.java +++ b/console/systems/common/src/main/java/tech/uom/demo/systems/common/ThePerfectStorm.java @@ -52,6 +52,7 @@ * @see {@link SaffirSimpsonHurricaneWindScale} */ public class ThePerfectStorm { + // Constants private static final SaffirSimpsonHurricaneWindScale STD = SaffirSimpsonHurricaneWindScale.of( null, Quantities.getQuantity(38, MILE_PER_HOUR), TROPICAL_DEPRESSION); private static final SaffirSimpsonHurricaneWindScale STS = SaffirSimpsonHurricaneWindScale.of( @@ -85,7 +86,7 @@ public static void main(String[] args) { System.out.println(s5); int argument = -1; - if (args != null && args.length>0) { + if (args != null && args.length > 0) { argument = Integer.valueOf(args[0]).intValue(); }