From 4c3f4b37a2b4e9e469648629d7027ee7a9f8a9e6 Mon Sep 17 00:00:00 2001 From: Usman Saleem Date: Wed, 1 May 2024 10:36:34 +1000 Subject: [PATCH] build - Update license headers formatting (#7017) Fix headers formatting under: enclave/ evm/ nat/ pki/ util/ --------- Signed-off-by: Usman Saleem --- .../org/hyperledger/besu/enclave/TlsCertificateDefinition.java | 1 - .../org/hyperledger/besu/enclave/TlsEnabledEnclaveTest.java | 1 - .../hyperledger/besu/enclave/TlsEnabledHttpServerFactory.java | 1 - .../java/org/hyperledger/besu/enclave/TlsHelpers.java | 1 - .../besu/evm/gascalculator/ByzantiumGasCalculator.java | 1 - .../org/hyperledger/besu/evm/operation/VirtualOperation.java | 1 - .../besu/evm/precompile/AbstractAltBnPrecompiledContract.java | 1 - .../besu/evm/precompile/AbstractBLS12PrecompiledContract.java | 1 - .../besu/evm/precompile/BLS12G1AddPrecompiledContract.java | 1 - .../besu/evm/precompile/BLS12G1MulPrecompiledContract.java | 1 - .../besu/evm/precompile/BLS12G1MultiExpPrecompiledContract.java | 1 - .../besu/evm/precompile/BLS12G2AddPrecompiledContract.java | 1 - .../besu/evm/precompile/BLS12G2MulPrecompiledContract.java | 1 - .../besu/evm/precompile/BLS12G2MultiExpPrecompiledContract.java | 1 - .../besu/evm/precompile/BLS12MapFp2ToG2PrecompiledContract.java | 1 - .../besu/evm/precompile/BLS12MapFpToG1PrecompiledContract.java | 1 - .../besu/evm/precompile/BLS12PairingPrecompiledContract.java | 1 - .../org/hyperledger/besu/evm/worldstate/JournaledAccount.java | 2 -- .../hyperledger/besu/evm/worldstate/UpdateTrackingAccount.java | 2 -- .../besu/evm/precompile/BLS12G1AddPrecompiledContractTest.java | 1 - .../besu/evm/precompile/BLS12G1MulPrecompiledContractTest.java | 1 - .../evm/precompile/BLS12G1MultiExpPrecompiledContractTest.java | 1 - .../besu/evm/precompile/BLS12G2AddPrecompiledContractTest.java | 1 - .../besu/evm/precompile/BLS12G2MulPrecompiledContractTest.java | 1 - .../evm/precompile/BLS12G2MultiExpPrecompiledContractTest.java | 1 - .../evm/precompile/BLS12MapFp2ToG2PrecompiledContractTest.java | 1 - .../evm/precompile/BLS12MapFpToG1PrecompiledContractTest.java | 1 - .../evm/precompile/BLS12PairingPrecompiledContractTest.java | 1 - .../java/org/hyperledger/besu/evm/precompile/Benchmarks.java | 2 -- nat/src/main/java/org/hyperledger/besu/nat/core/IpDetector.java | 1 - .../java/org/hyperledger/besu/nat/core/NatMethodDetector.java | 1 - .../org/hyperledger/besu/nat/core/domain/NatPortMapping.java | 1 - .../org/hyperledger/besu/nat/core/domain/NatServiceType.java | 1 - .../org/hyperledger/besu/nat/core/domain/NetworkProtocol.java | 1 - .../java/org/hyperledger/besu/nat/docker/DockerDetector.java | 1 - .../java/org/hyperledger/besu/nat/docker/DockerNatManager.java | 1 - .../org/hyperledger/besu/nat/docker/HostBasedIpDetector.java | 1 - .../org/hyperledger/besu/nat/kubernetes/KubernetesDetector.java | 1 - .../hyperledger/besu/nat/kubernetes/KubernetesNatManager.java | 1 - nat/src/test/java/org/hyperledger/besu/nat/NatServiceTest.java | 1 - .../org/hyperledger/besu/nat/core/AbstractNatManagerTest.java | 1 - .../org/hyperledger/besu/pki/util/TestCertificateUtils.java | 1 - .../java/org/hyperledger/besu/util/io/RollingFileReader.java | 2 -- .../java/org/hyperledger/besu/util/io/RollingFileWriter.java | 2 -- 44 files changed, 49 deletions(-) diff --git a/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsCertificateDefinition.java b/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsCertificateDefinition.java index 4f09831b00..ad1271e920 100644 --- a/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsCertificateDefinition.java +++ b/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsCertificateDefinition.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.enclave; import java.io.File; diff --git a/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsEnabledEnclaveTest.java b/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsEnabledEnclaveTest.java index fc99551577..b594779306 100644 --- a/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsEnabledEnclaveTest.java +++ b/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsEnabledEnclaveTest.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.enclave; import static org.assertj.core.api.Assertions.assertThat; diff --git a/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsEnabledHttpServerFactory.java b/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsEnabledHttpServerFactory.java index 6538c4a4a9..7c67aeb7b9 100644 --- a/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsEnabledHttpServerFactory.java +++ b/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsEnabledHttpServerFactory.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.enclave; import static org.hyperledger.besu.enclave.TlsHelpers.populateFingerprintFile; diff --git a/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsHelpers.java b/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsHelpers.java index 89ecddba27..09002f8115 100644 --- a/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsHelpers.java +++ b/enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsHelpers.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.enclave; import org.hyperledger.besu.crypto.MessageDigestFactory; diff --git a/evm/src/main/java/org/hyperledger/besu/evm/gascalculator/ByzantiumGasCalculator.java b/evm/src/main/java/org/hyperledger/besu/evm/gascalculator/ByzantiumGasCalculator.java index 2bc25458e9..bc17bdf81d 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/gascalculator/ByzantiumGasCalculator.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/gascalculator/ByzantiumGasCalculator.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.gascalculator; diff --git a/evm/src/main/java/org/hyperledger/besu/evm/operation/VirtualOperation.java b/evm/src/main/java/org/hyperledger/besu/evm/operation/VirtualOperation.java index fdb61bff49..309ede2d9d 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/operation/VirtualOperation.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/operation/VirtualOperation.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.evm.operation; import org.hyperledger.besu.evm.EVM; diff --git a/evm/src/main/java/org/hyperledger/besu/evm/precompile/AbstractAltBnPrecompiledContract.java b/evm/src/main/java/org/hyperledger/besu/evm/precompile/AbstractAltBnPrecompiledContract.java index c02b484eb2..84ce6c6cf9 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/precompile/AbstractAltBnPrecompiledContract.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/precompile/AbstractAltBnPrecompiledContract.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/main/java/org/hyperledger/besu/evm/precompile/AbstractBLS12PrecompiledContract.java b/evm/src/main/java/org/hyperledger/besu/evm/precompile/AbstractBLS12PrecompiledContract.java index 159e4d3996..21eab01f97 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/precompile/AbstractBLS12PrecompiledContract.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/precompile/AbstractBLS12PrecompiledContract.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G1AddPrecompiledContract.java b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G1AddPrecompiledContract.java index c15f574830..0be201f1a5 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G1AddPrecompiledContract.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G1AddPrecompiledContract.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G1MulPrecompiledContract.java b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G1MulPrecompiledContract.java index 42e90a9f47..baf1ed35fc 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G1MulPrecompiledContract.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G1MulPrecompiledContract.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G1MultiExpPrecompiledContract.java b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G1MultiExpPrecompiledContract.java index 536ff56d60..e3366f491d 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G1MultiExpPrecompiledContract.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G1MultiExpPrecompiledContract.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G2AddPrecompiledContract.java b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G2AddPrecompiledContract.java index 906fc62fd0..08d1159c27 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G2AddPrecompiledContract.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G2AddPrecompiledContract.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G2MulPrecompiledContract.java b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G2MulPrecompiledContract.java index 4b7fef54b1..9e4ce9988e 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G2MulPrecompiledContract.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G2MulPrecompiledContract.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G2MultiExpPrecompiledContract.java b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G2MultiExpPrecompiledContract.java index c5ce285621..21ed12dad2 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G2MultiExpPrecompiledContract.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G2MultiExpPrecompiledContract.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12MapFp2ToG2PrecompiledContract.java b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12MapFp2ToG2PrecompiledContract.java index e56517253c..603b7e887b 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12MapFp2ToG2PrecompiledContract.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12MapFp2ToG2PrecompiledContract.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12MapFpToG1PrecompiledContract.java b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12MapFpToG1PrecompiledContract.java index c0cd00b2e6..a512b24966 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12MapFpToG1PrecompiledContract.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12MapFpToG1PrecompiledContract.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12PairingPrecompiledContract.java b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12PairingPrecompiledContract.java index 309b3e377a..e6ccd98227 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12PairingPrecompiledContract.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12PairingPrecompiledContract.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/main/java/org/hyperledger/besu/evm/worldstate/JournaledAccount.java b/evm/src/main/java/org/hyperledger/besu/evm/worldstate/JournaledAccount.java index e527e5301d..052a0663c3 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/worldstate/JournaledAccount.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/worldstate/JournaledAccount.java @@ -11,9 +11,7 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ - package org.hyperledger.besu.evm.worldstate; import static com.google.common.base.Preconditions.checkNotNull; diff --git a/evm/src/main/java/org/hyperledger/besu/evm/worldstate/UpdateTrackingAccount.java b/evm/src/main/java/org/hyperledger/besu/evm/worldstate/UpdateTrackingAccount.java index a8c697a21f..abe33a8860 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/worldstate/UpdateTrackingAccount.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/worldstate/UpdateTrackingAccount.java @@ -11,9 +11,7 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ - package org.hyperledger.besu.evm.worldstate; import static com.google.common.base.Preconditions.checkNotNull; diff --git a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G1AddPrecompiledContractTest.java b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G1AddPrecompiledContractTest.java index 293976e7f8..a46d33fced 100644 --- a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G1AddPrecompiledContractTest.java +++ b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G1AddPrecompiledContractTest.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G1MulPrecompiledContractTest.java b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G1MulPrecompiledContractTest.java index bb5a2e1cb8..e938d369fa 100644 --- a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G1MulPrecompiledContractTest.java +++ b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G1MulPrecompiledContractTest.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G1MultiExpPrecompiledContractTest.java b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G1MultiExpPrecompiledContractTest.java index b4d21661f1..ee470df498 100644 --- a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G1MultiExpPrecompiledContractTest.java +++ b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G1MultiExpPrecompiledContractTest.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G2AddPrecompiledContractTest.java b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G2AddPrecompiledContractTest.java index b2865c57eb..d685dd4b52 100644 --- a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G2AddPrecompiledContractTest.java +++ b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G2AddPrecompiledContractTest.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G2MulPrecompiledContractTest.java b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G2MulPrecompiledContractTest.java index b33cfb73ce..0755737969 100644 --- a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G2MulPrecompiledContractTest.java +++ b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G2MulPrecompiledContractTest.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G2MultiExpPrecompiledContractTest.java b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G2MultiExpPrecompiledContractTest.java index 21f9084d57..bb08b6725f 100644 --- a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G2MultiExpPrecompiledContractTest.java +++ b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G2MultiExpPrecompiledContractTest.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12MapFp2ToG2PrecompiledContractTest.java b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12MapFp2ToG2PrecompiledContractTest.java index c90e2a1eb4..584e6ed56a 100644 --- a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12MapFp2ToG2PrecompiledContractTest.java +++ b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12MapFp2ToG2PrecompiledContractTest.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12MapFpToG1PrecompiledContractTest.java b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12MapFpToG1PrecompiledContractTest.java index 6f269b7880..ba5f6bf8f5 100644 --- a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12MapFpToG1PrecompiledContractTest.java +++ b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12MapFpToG1PrecompiledContractTest.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12PairingPrecompiledContractTest.java b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12PairingPrecompiledContractTest.java index a1e3b49fc2..db4855786e 100644 --- a/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12PairingPrecompiledContractTest.java +++ b/evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12PairingPrecompiledContractTest.java @@ -11,7 +11,6 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ package org.hyperledger.besu.evm.precompile; diff --git a/evm/src/test/java/org/hyperledger/besu/evm/precompile/Benchmarks.java b/evm/src/test/java/org/hyperledger/besu/evm/precompile/Benchmarks.java index e25701d6d0..458f0c9558 100644 --- a/evm/src/test/java/org/hyperledger/besu/evm/precompile/Benchmarks.java +++ b/evm/src/test/java/org/hyperledger/besu/evm/precompile/Benchmarks.java @@ -11,9 +11,7 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ - package org.hyperledger.besu.evm.precompile; import static java.nio.charset.StandardCharsets.UTF_8; diff --git a/nat/src/main/java/org/hyperledger/besu/nat/core/IpDetector.java b/nat/src/main/java/org/hyperledger/besu/nat/core/IpDetector.java index 55e5861d2e..faff639863 100644 --- a/nat/src/main/java/org/hyperledger/besu/nat/core/IpDetector.java +++ b/nat/src/main/java/org/hyperledger/besu/nat/core/IpDetector.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.nat.core; import java.util.Optional; diff --git a/nat/src/main/java/org/hyperledger/besu/nat/core/NatMethodDetector.java b/nat/src/main/java/org/hyperledger/besu/nat/core/NatMethodDetector.java index 08cee0dd5b..73c161b245 100644 --- a/nat/src/main/java/org/hyperledger/besu/nat/core/NatMethodDetector.java +++ b/nat/src/main/java/org/hyperledger/besu/nat/core/NatMethodDetector.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.nat.core; import org.hyperledger.besu.nat.NatMethod; diff --git a/nat/src/main/java/org/hyperledger/besu/nat/core/domain/NatPortMapping.java b/nat/src/main/java/org/hyperledger/besu/nat/core/domain/NatPortMapping.java index 3b1ea6a14e..d980c90bd4 100644 --- a/nat/src/main/java/org/hyperledger/besu/nat/core/domain/NatPortMapping.java +++ b/nat/src/main/java/org/hyperledger/besu/nat/core/domain/NatPortMapping.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.nat.core.domain; /** This class describes a NAT configuration. */ diff --git a/nat/src/main/java/org/hyperledger/besu/nat/core/domain/NatServiceType.java b/nat/src/main/java/org/hyperledger/besu/nat/core/domain/NatServiceType.java index 2702254cad..666ba9b288 100644 --- a/nat/src/main/java/org/hyperledger/besu/nat/core/domain/NatServiceType.java +++ b/nat/src/main/java/org/hyperledger/besu/nat/core/domain/NatServiceType.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.nat.core.domain; /** diff --git a/nat/src/main/java/org/hyperledger/besu/nat/core/domain/NetworkProtocol.java b/nat/src/main/java/org/hyperledger/besu/nat/core/domain/NetworkProtocol.java index a8ab4939ba..bc2f0fb39d 100644 --- a/nat/src/main/java/org/hyperledger/besu/nat/core/domain/NetworkProtocol.java +++ b/nat/src/main/java/org/hyperledger/besu/nat/core/domain/NetworkProtocol.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.nat.core.domain; /** diff --git a/nat/src/main/java/org/hyperledger/besu/nat/docker/DockerDetector.java b/nat/src/main/java/org/hyperledger/besu/nat/docker/DockerDetector.java index e7f1cf2328..4ac6656573 100644 --- a/nat/src/main/java/org/hyperledger/besu/nat/docker/DockerDetector.java +++ b/nat/src/main/java/org/hyperledger/besu/nat/docker/DockerDetector.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.nat.docker; import org.hyperledger.besu.nat.NatMethod; diff --git a/nat/src/main/java/org/hyperledger/besu/nat/docker/DockerNatManager.java b/nat/src/main/java/org/hyperledger/besu/nat/docker/DockerNatManager.java index da2fd0e1a7..002fe7b4ec 100644 --- a/nat/src/main/java/org/hyperledger/besu/nat/docker/DockerNatManager.java +++ b/nat/src/main/java/org/hyperledger/besu/nat/docker/DockerNatManager.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.nat.docker; import org.hyperledger.besu.nat.NatMethod; diff --git a/nat/src/main/java/org/hyperledger/besu/nat/docker/HostBasedIpDetector.java b/nat/src/main/java/org/hyperledger/besu/nat/docker/HostBasedIpDetector.java index a7cd1c656a..42b2019e29 100644 --- a/nat/src/main/java/org/hyperledger/besu/nat/docker/HostBasedIpDetector.java +++ b/nat/src/main/java/org/hyperledger/besu/nat/docker/HostBasedIpDetector.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.nat.docker; import org.hyperledger.besu.nat.core.IpDetector; diff --git a/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesDetector.java b/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesDetector.java index 4176216869..755f52b9e2 100644 --- a/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesDetector.java +++ b/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesDetector.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.nat.kubernetes; import org.hyperledger.besu.nat.NatMethod; diff --git a/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesNatManager.java b/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesNatManager.java index e60b778864..0cf6bc4f76 100644 --- a/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesNatManager.java +++ b/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesNatManager.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.nat.kubernetes; import org.hyperledger.besu.nat.NatMethod; diff --git a/nat/src/test/java/org/hyperledger/besu/nat/NatServiceTest.java b/nat/src/test/java/org/hyperledger/besu/nat/NatServiceTest.java index ae51ab6a35..62bc883491 100644 --- a/nat/src/test/java/org/hyperledger/besu/nat/NatServiceTest.java +++ b/nat/src/test/java/org/hyperledger/besu/nat/NatServiceTest.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.nat; import static org.assertj.core.api.Assertions.assertThat; diff --git a/nat/src/test/java/org/hyperledger/besu/nat/core/AbstractNatManagerTest.java b/nat/src/test/java/org/hyperledger/besu/nat/core/AbstractNatManagerTest.java index 768d2a2bd0..330a21dba0 100644 --- a/nat/src/test/java/org/hyperledger/besu/nat/core/AbstractNatManagerTest.java +++ b/nat/src/test/java/org/hyperledger/besu/nat/core/AbstractNatManagerTest.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.nat.core; import static org.assertj.core.api.Assertions.assertThat; diff --git a/pki/src/test/java/org/hyperledger/besu/pki/util/TestCertificateUtils.java b/pki/src/test/java/org/hyperledger/besu/pki/util/TestCertificateUtils.java index 190e90213c..e9502e30e6 100644 --- a/pki/src/test/java/org/hyperledger/besu/pki/util/TestCertificateUtils.java +++ b/pki/src/test/java/org/hyperledger/besu/pki/util/TestCertificateUtils.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.pki.util; import org.hyperledger.besu.pki.cms.CmsCreator; diff --git a/util/src/main/java/org/hyperledger/besu/util/io/RollingFileReader.java b/util/src/main/java/org/hyperledger/besu/util/io/RollingFileReader.java index c7cf98edda..e9d3ee807a 100644 --- a/util/src/main/java/org/hyperledger/besu/util/io/RollingFileReader.java +++ b/util/src/main/java/org/hyperledger/besu/util/io/RollingFileReader.java @@ -11,9 +11,7 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ - package org.hyperledger.besu.util.io; import java.io.Closeable; diff --git a/util/src/main/java/org/hyperledger/besu/util/io/RollingFileWriter.java b/util/src/main/java/org/hyperledger/besu/util/io/RollingFileWriter.java index 93e7e1d6f0..81e1e5e8d7 100644 --- a/util/src/main/java/org/hyperledger/besu/util/io/RollingFileWriter.java +++ b/util/src/main/java/org/hyperledger/besu/util/io/RollingFileWriter.java @@ -11,9 +11,7 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ - package org.hyperledger.besu.util.io; import java.io.Closeable;