From 9a1f6842ef3eab097d6f61f995995b1d4eefc865 Mon Sep 17 00:00:00 2001 From: Usman Saleem Date: Wed, 1 May 2024 11:50:05 +1000 Subject: [PATCH] build - Update license headers formatting (5) (#7019) Apply license headers formatting under: plugin-api/ plugins/ --------- Signed-off-by: Usman Saleem Co-authored-by: Sally MacFarlane --- plugin-api/build.gradle | 2 +- .../main/java/org/hyperledger/besu/plugin/data/BlockBody.java | 2 -- .../java/org/hyperledger/besu/plugin/services/BesuService.java | 1 - .../besu/plugin/services/PluginVersionsProvider.java | 1 - .../permissioning/NodeMessagePermissioningProvider.java | 1 - .../besu/plugin/services/storage/rocksdb/RocksDbIterator.java | 1 - .../org/hyperledger/besu/plugin/services/helper/Conditions.java | 1 - .../storage/rocksdb/configuration/DatabaseMetadataTest.java | 1 - 8 files changed, 1 insertion(+), 9 deletions(-) diff --git a/plugin-api/build.gradle b/plugin-api/build.gradle index 7795c5b2ca..4d7774af16 100644 --- a/plugin-api/build.gradle +++ b/plugin-api/build.gradle @@ -69,7 +69,7 @@ Calculated : ${currentHash} tasks.register('checkAPIChanges', FileStateChecker) { description = "Checks that the API for the Plugin-API project does not change without deliberate thought" files = sourceSets.main.allJava.files - knownHash = 'wGHrCxNllf6j/YOB/6UzH5QXYcwwB2AEmYC4GkQVUuE=' + knownHash = 'rCBv4jTpL47h0qSX64edjML55NkqEhq1NRlWwsOZy1Q=' } check.dependsOn('checkAPIChanges') diff --git a/plugin-api/src/main/java/org/hyperledger/besu/plugin/data/BlockBody.java b/plugin-api/src/main/java/org/hyperledger/besu/plugin/data/BlockBody.java index 9f37d3308f..0432fb4d77 100644 --- a/plugin-api/src/main/java/org/hyperledger/besu/plugin/data/BlockBody.java +++ b/plugin-api/src/main/java/org/hyperledger/besu/plugin/data/BlockBody.java @@ -11,9 +11,7 @@ * specific language governing permissions and limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - * */ - package org.hyperledger.besu.plugin.data; import org.hyperledger.besu.datatypes.Transaction; diff --git a/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/BesuService.java b/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/BesuService.java index 19b48d0a45..62340dd59d 100644 --- a/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/BesuService.java +++ b/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/BesuService.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.plugin.services; import org.hyperledger.besu.plugin.BesuContext; diff --git a/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/PluginVersionsProvider.java b/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/PluginVersionsProvider.java index 26604a6488..63b9a524b1 100644 --- a/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/PluginVersionsProvider.java +++ b/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/PluginVersionsProvider.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.plugin.services; import java.util.Collection; diff --git a/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/permissioning/NodeMessagePermissioningProvider.java b/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/permissioning/NodeMessagePermissioningProvider.java index dc6d8071fe..88efdad8a1 100644 --- a/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/permissioning/NodeMessagePermissioningProvider.java +++ b/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/permissioning/NodeMessagePermissioningProvider.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.plugin.services.permissioning; import org.hyperledger.besu.plugin.data.EnodeURL; diff --git a/plugins/rocksdb/src/main/java/org/hyperledger/besu/plugin/services/storage/rocksdb/RocksDbIterator.java b/plugins/rocksdb/src/main/java/org/hyperledger/besu/plugin/services/storage/rocksdb/RocksDbIterator.java index 9a5f9c4a18..ef7f10e6c4 100644 --- a/plugins/rocksdb/src/main/java/org/hyperledger/besu/plugin/services/storage/rocksdb/RocksDbIterator.java +++ b/plugins/rocksdb/src/main/java/org/hyperledger/besu/plugin/services/storage/rocksdb/RocksDbIterator.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.plugin.services.storage.rocksdb; import static com.google.common.base.Preconditions.checkState; diff --git a/plugins/rocksdb/src/test/java/org/hyperledger/besu/plugin/services/helper/Conditions.java b/plugins/rocksdb/src/test/java/org/hyperledger/besu/plugin/services/helper/Conditions.java index 085e931353..41f1b294af 100644 --- a/plugins/rocksdb/src/test/java/org/hyperledger/besu/plugin/services/helper/Conditions.java +++ b/plugins/rocksdb/src/test/java/org/hyperledger/besu/plugin/services/helper/Conditions.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.plugin.services.helper; import java.io.IOException; diff --git a/plugins/rocksdb/src/test/java/org/hyperledger/besu/plugin/services/storage/rocksdb/configuration/DatabaseMetadataTest.java b/plugins/rocksdb/src/test/java/org/hyperledger/besu/plugin/services/storage/rocksdb/configuration/DatabaseMetadataTest.java index 8ceea5b329..56f5f76862 100644 --- a/plugins/rocksdb/src/test/java/org/hyperledger/besu/plugin/services/storage/rocksdb/configuration/DatabaseMetadataTest.java +++ b/plugins/rocksdb/src/test/java/org/hyperledger/besu/plugin/services/storage/rocksdb/configuration/DatabaseMetadataTest.java @@ -12,7 +12,6 @@ * * SPDX-License-Identifier: Apache-2.0 */ - package org.hyperledger.besu.plugin.services.storage.rocksdb.configuration; import static org.assertj.core.api.Assertions.assertThat;