From 40aca65c8002f599baf3618f90b464a3837fa6cd Mon Sep 17 00:00:00 2001 From: georgi-l95 Date: Fri, 6 Dec 2024 17:53:21 +0200 Subject: [PATCH] fix conflicts Signed-off-by: georgi-l95 --- .../com/hedera/block/common/utils/Preconditions.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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() {} +}