From e981156723ec2374f8d45ebade319d2107bcfc88 Mon Sep 17 00:00:00 2001 From: david-doit-intl <61047944+david-doit-intl@users.noreply.github.com> Date: Wed, 31 Mar 2021 12:02:56 +0100 Subject: [PATCH] Update FizzStrategy.java More professional! --- .../packagenamingpackage/impl/strategies/FizzStrategy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/seriouscompany/business/java/fizzbuzz/packagenamingpackage/impl/strategies/FizzStrategy.java b/src/main/java/com/seriouscompany/business/java/fizzbuzz/packagenamingpackage/impl/strategies/FizzStrategy.java index 8735c46d..031d6c7f 100644 --- a/src/main/java/com/seriouscompany/business/java/fizzbuzz/packagenamingpackage/impl/strategies/FizzStrategy.java +++ b/src/main/java/com/seriouscompany/business/java/fizzbuzz/packagenamingpackage/impl/strategies/FizzStrategy.java @@ -20,9 +20,9 @@ public boolean isEvenlyDivisible(final int theInteger) { if (NumberIsMultipleOfAnotherNumberVerifier.numberIsMultipleOfAnotherNumber(theInteger, FizzStrategyConstants.FIZZ_INTEGER_CONSTANT_VALUE)) { return true; - } else { - return false; } + return false; + } }