Skip to content

Commit

Permalink
add missing @OverRide annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
finkmanAtSap committed Sep 12, 2023
1 parent 7d4f83a commit d4121e8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public PublicKey getPublicKey(JwtSignatureAlgorithm keyAlgorithm, String keyId,
jwks = retrieveTokenKeysAndUpdateCache(cacheKey);
}

if (jwks == null || jwks.getAll().isEmpty()) {
if (jwks.getAll().isEmpty()) {
LOGGER.error("Retrieved no token keys from {} for the given header parameters.", keyUri);
return null;
}
Expand Down Expand Up @@ -244,6 +244,7 @@ public Object getCacheStatistics() {
}

record CacheKey (URI keyUri, String appTid, String clientId, String azp) {
@Override
public String toString() {
String appTid = this.appTid != null ? this.appTid : "";

Check notice

Code scanning / CodeQL

Possible confusion of local and field Note

Potentially confusing name: method
toString
also refers to field
appTid
(as this.appTid).
String clientId = this.clientId != null ? this.clientId : "";

Check notice

Code scanning / CodeQL

Possible confusion of local and field Note

Potentially confusing name: method
toString
also refers to field
clientId
(as this.clientId).
Expand Down

0 comments on commit d4121e8

Please sign in to comment.