Skip to content

Commit

Permalink
Enable ErrorProne InvalidThrows
Browse files Browse the repository at this point in the history
  • Loading branch information
ebyhr committed Oct 2, 2024
1 parent 2775b1d commit b1dc5a7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ public Result<?> processRESTLogin(RestLoginRequest loginForm)
*
* @param idToken the access token provided back by the authorization server.
* @return a map with the token claims
* @throws Exception is thrown if the access token is invalid
*/
public Optional<Map<String, Claim>> getClaimsFromIdToken(String idToken)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ public Response getAuthorizationCodeResponse()
*
* @param idToken the access token provided back by the authorization server.
* @return a map with the token claims
* @throws Exception is thrown if the access token is invalid
*/
public Optional<Map<String, Claim>> getClaimsFromIdToken(String idToken)
{
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
-Xep:ClassCanBeStatic:ERROR \
-Xep:DefaultCharset:ERROR \
-Xep:EqualsGetClass:OFF \
-Xep:InvalidThrows:ERROR \
-Xep:MissingOverride:ERROR \
-Xep:StringCaseLocaleUsage:ERROR \
-Xep:UnnecessaryParentheses:ERROR \
Expand Down

0 comments on commit b1dc5a7

Please sign in to comment.