Skip to content

Commit

Permalink
feat(irs-apiirs-edc-client):[#256] removed dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-psosnowski committed Dec 4, 2023
1 parent 2495ac1 commit 9654457
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
11 changes: 0 additions & 11 deletions irs-edc-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -225,17 +225,6 @@
<version>${awaitility.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
<version>${findbug.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ private Optional<EndpointDataReference> 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);
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
<junit-jupiter-engine.version>5.9.2</junit-jupiter-engine.version>
<json-smart.version>2.4.10</json-smart.version>
<testcontainers-bom.version>1.19.1</testcontainers-bom.version>
<findbug.version>3.0.1</findbug.version>

<!-- Plugins -->
<spotbugs-plugin.version>4.7.3.2</spotbugs-plugin.version>
Expand Down

0 comments on commit 9654457

Please sign in to comment.