From 1668e8523a593cf3b69db110d99894b50d31f432 Mon Sep 17 00:00:00 2001 From: Jendrik Johannes Date: Mon, 9 Sep 2024 07:42:59 +0200 Subject: [PATCH] chore: use correct Nullable annotation in 'smart-contract-service-impl' (#15373) Signed-off-by: Jendrik Johannes --- .../app/service/contract/impl/ContractServiceComponent.java | 3 ++- .../src/main/java/module-info.java | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hedera-node/hedera-smart-contract-service-impl/src/main/java/com/hedera/node/app/service/contract/impl/ContractServiceComponent.java b/hedera-node/hedera-smart-contract-service-impl/src/main/java/com/hedera/node/app/service/contract/impl/ContractServiceComponent.java index 661588deed1f..678231f53943 100644 --- a/hedera-node/hedera-smart-contract-service-impl/src/main/java/com/hedera/node/app/service/contract/impl/ContractServiceComponent.java +++ b/hedera-node/hedera-smart-contract-service-impl/src/main/java/com/hedera/node/app/service/contract/impl/ContractServiceComponent.java @@ -20,6 +20,7 @@ import com.hedera.node.app.spi.signatures.SignatureVerifier; import dagger.BindsInstance; import dagger.Component; +import edu.umd.cs.findbugs.annotations.Nullable; import java.time.InstantSource; import java.util.List; import java.util.function.Supplier; @@ -34,7 +35,7 @@ interface Factory { ContractServiceComponent create( @BindsInstance InstantSource instantSource, @BindsInstance SignatureVerifier signatureVerifier, - @BindsInstance @javax.annotation.Nullable Supplier> addOnTracers); + @BindsInstance @Nullable Supplier> addOnTracers); } ContractHandlers handlers(); diff --git a/hedera-node/hedera-smart-contract-service-impl/src/main/java/module-info.java b/hedera-node/hedera-smart-contract-service-impl/src/main/java/module-info.java index 8c704ae30d54..bca30951fe7d 100644 --- a/hedera-node/hedera-smart-contract-service-impl/src/main/java/module-info.java +++ b/hedera-node/hedera-smart-contract-service-impl/src/main/java/module-info.java @@ -12,7 +12,6 @@ requires transitive com.hedera.pbj.runtime; requires transitive dagger; requires transitive headlong; - requires transitive java.annotation; requires transitive javax.inject; requires transitive org.apache.logging.log4j; requires transitive org.hyperledger.besu.datatypes;