From cdd9ba9cab1b0bea633f391135bd06cdb4a96f0e Mon Sep 17 00:00:00 2001 From: Alfredo Gutierrez Date: Mon, 6 Jan 2025 12:30:25 -0600 Subject: [PATCH] spotless apply changes Signed-off-by: Alfredo Gutierrez --- .../main/java/com/hedera/block/common/utils/MathUtilities.java | 2 +- .../main/java/com/hedera/block/common/utils/Preconditions.java | 2 +- .../test/java/com/hedera/block/common/CommonsTestUtility.java | 2 +- .../java/com/hedera/block/common/utils/MathUtilitiesTest.java | 2 +- .../java/com/hedera/block/common/utils/PreconditionsTest.java | 2 +- .../hedera/block/server/verification/VerificationConfig.java | 3 ++- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/common/src/main/java/com/hedera/block/common/utils/MathUtilities.java b/common/src/main/java/com/hedera/block/common/utils/MathUtilities.java index dc5b9eea5..bd1ef1125 100644 --- a/common/src/main/java/com/hedera/block/common/utils/MathUtilities.java +++ b/common/src/main/java/com/hedera/block/common/utils/MathUtilities.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Hedera Hashgraph, LLC + * Copyright (C) 2024-2025 Hedera Hashgraph, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 2c106a5f7..8abe85413 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 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Hedera Hashgraph, LLC + * Copyright (C) 2024-2025 Hedera Hashgraph, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/common/src/test/java/com/hedera/block/common/CommonsTestUtility.java b/common/src/test/java/com/hedera/block/common/CommonsTestUtility.java index c59b67fe5..f28c3066b 100644 --- a/common/src/test/java/com/hedera/block/common/CommonsTestUtility.java +++ b/common/src/test/java/com/hedera/block/common/CommonsTestUtility.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Hedera Hashgraph, LLC + * Copyright (C) 2024-2025 Hedera Hashgraph, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/common/src/test/java/com/hedera/block/common/utils/MathUtilitiesTest.java b/common/src/test/java/com/hedera/block/common/utils/MathUtilitiesTest.java index 066be23fe..04337bd24 100644 --- a/common/src/test/java/com/hedera/block/common/utils/MathUtilitiesTest.java +++ b/common/src/test/java/com/hedera/block/common/utils/MathUtilitiesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Hedera Hashgraph, LLC + * Copyright (C) 2024-2025 Hedera Hashgraph, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/common/src/test/java/com/hedera/block/common/utils/PreconditionsTest.java b/common/src/test/java/com/hedera/block/common/utils/PreconditionsTest.java index f66672f60..a4a6193b5 100644 --- a/common/src/test/java/com/hedera/block/common/utils/PreconditionsTest.java +++ b/common/src/test/java/com/hedera/block/common/utils/PreconditionsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Hedera Hashgraph, LLC + * Copyright (C) 2024-2025 Hedera Hashgraph, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/server/src/main/java/com/hedera/block/server/verification/VerificationConfig.java b/server/src/main/java/com/hedera/block/server/verification/VerificationConfig.java index 838701824..15f2cbf58 100644 --- a/server/src/main/java/com/hedera/block/server/verification/VerificationConfig.java +++ b/server/src/main/java/com/hedera/block/server/verification/VerificationConfig.java @@ -49,7 +49,8 @@ public record VerificationConfig( public VerificationConfig { // hashCombineBatchSize must be even and greater than 2 Preconditions.requirePositive(hashCombineBatchSize, "[VERIFICATION_HASH_COMBINE_BATCH_SIZE] must be positive"); - Preconditions.requireEven(hashCombineBatchSize, "[VERIFICATION_HASH_COMBINE_BATCH_SIZE] must be even and greater than 2"); + Preconditions.requireEven( + hashCombineBatchSize, "[VERIFICATION_HASH_COMBINE_BATCH_SIZE] must be even and greater than 2"); // Log the actual configuration LOGGER.log(System.Logger.Level.INFO, "Verification configuration enabled: " + enabled);