Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanmasek committed Sep 22, 2023
1 parent 91d37ce commit 56046f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ protected String getAuthCode() {
return authCode;
}

@SuppressWarnings("restriction")
private static BpmPublicErrorBuilder authError() {
return BpmError.create(RedirectToIdentityProvider.OAUTH2_ERROR_CODE);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public void notification(JsonNode node) {
Ivy.log().info(node);
}

@SuppressWarnings("unused")
private boolean verifyClientId(String clientId) {
return Optional.ofNullable(Ivy.var().get(CLIENT_ID_VAR)).map(s -> s.compareTo(clientId) == 0).orElse(false);
}
Expand Down

0 comments on commit 56046f9

Please sign in to comment.