diff --git a/irs-edc-client/pom.xml b/irs-edc-client/pom.xml index d63dc8776c..10d3049c1e 100644 --- a/irs-edc-client/pom.xml +++ b/irs-edc-client/pom.xml @@ -225,17 +225,6 @@ ${awaitility.version} test - - com.google.code.findbugs - annotations - ${findbug.version} - - - com.google.code.findbugs - jsr305 - 3.0.1 - provided - diff --git a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/ContractNegotiationService.java b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/ContractNegotiationService.java index 91947f7b6d..26adfe26ad 100644 --- a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/ContractNegotiationService.java +++ b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/ContractNegotiationService.java @@ -69,9 +69,6 @@ public NegotiationResponse negotiate(final String providerConnectorUrl, final Ca } @SuppressWarnings("PMD.AvoidReassigningParameters") - @edu.umd.cs.findbugs.annotations.SuppressFBWarnings( - value = "NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE", - justification = "Not reachable code") public NegotiationResponse negotiate(final String providerConnectorUrl, final CatalogItem catalogItem, EndpointDataReferenceStatus endpointDataReferenceStatus) throws ContractNegotiationException, UsagePolicyException, TransferProcessException { diff --git a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/util/EndpointDataReferenceCacheService.java b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/util/EndpointDataReferenceCacheService.java index 70cc301dde..1abe0b14b8 100644 --- a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/util/EndpointDataReferenceCacheService.java +++ b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/util/EndpointDataReferenceCacheService.java @@ -82,7 +82,6 @@ private Optional retrieveEndpointEndpointReferenceByAsset return endpointDataReferenceStorage.get(assetId); } - @edu.umd.cs.findbugs.annotations.SuppressFBWarnings("NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE") private static boolean isTokenExpired(final EndpointDataReference endpointDataReference) { final Instant tokenExpirationInstant = extractTokenExpiration(endpointDataReference.getAuthCode()); return Instant.now().isAfter(tokenExpirationInstant); diff --git a/pom.xml b/pom.xml index 18a5ace2aa..d52a2dc84e 100644 --- a/pom.xml +++ b/pom.xml @@ -105,7 +105,6 @@ 5.9.2 2.4.10 1.19.1 - 3.0.1 4.7.3.2