diff --git a/common/src/main/java/com/hedera/block/common/utils/Preconditions.java b/common/src/main/java/com/hedera/block/common/utils/Preconditions.java index 461524bc..a5be96f6 100644 --- a/common/src/main/java/com/hedera/block/common/utils/Preconditions.java +++ b/common/src/main/java/com/hedera/block/common/utils/Preconditions.java @@ -55,8 +55,8 @@ public static String requireNotBlank(final String toCheck) { */ public static String requireNotBlank(final String toCheck, final String errorMessage) { if (StringUtilities.isBlank(toCheck)) { - final String message = Objects.isNull(errorMessage) ? "The input String is required to be non-blank." - : errorMessage; + final String message = + Objects.isNull(errorMessage) ? "The input String is required to be non-blank." : errorMessage; throw new IllegalArgumentException(message); } else { return toCheck; @@ -257,6 +257,5 @@ public static int requirePowerOfTwo(final int toCheck, final String errorMessage } } - private Preconditions() { - } -} \ No newline at end of file + private Preconditions() {} +}