diff --git a/oauth2/jwt-jose/src/main/java/org/springframework/security/jwt/Jwt.java b/oauth2/jwt-jose/src/main/java/org/springframework/security/jwt/Jwt.java index b1c24dc6e6..fa116659b0 100644 --- a/oauth2/jwt-jose/src/main/java/org/springframework/security/jwt/Jwt.java +++ b/oauth2/jwt-jose/src/main/java/org/springframework/security/jwt/Jwt.java @@ -45,7 +45,7 @@ public class Jwt extends SecurityToken implements JwtClaimAccessor { private final Map claims; public Jwt(String tokenValue, Instant issuedAt, Instant expiresAt, - Map headers, Map claims) { + Map headers, Map claims) { super(tokenValue, issuedAt, expiresAt); Assert.notEmpty(headers, "headers cannot be empty"); Assert.notEmpty(claims, "claims cannot be empty"); diff --git a/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/AuthorizationRequestRepository.java b/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/AuthorizationRequestRepository.java index 3dcb906368..12d87cfad3 100644 --- a/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/AuthorizationRequestRepository.java +++ b/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/AuthorizationRequestRepository.java @@ -40,7 +40,7 @@ public interface AuthorizationRequestRepository { AuthorizationRequestAttributes loadAuthorizationRequest(HttpServletRequest request); void saveAuthorizationRequest(AuthorizationRequestAttributes authorizationRequest, HttpServletRequest request, - HttpServletResponse response); + HttpServletResponse response); AuthorizationRequestAttributes removeAuthorizationRequest(HttpServletRequest request); diff --git a/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/HttpSessionAuthorizationRequestRepository.java b/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/HttpSessionAuthorizationRequestRepository.java index a3c4c63909..926b74d6d5 100644 --- a/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/HttpSessionAuthorizationRequestRepository.java +++ b/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/HttpSessionAuthorizationRequestRepository.java @@ -46,7 +46,7 @@ public final class HttpSessionAuthorizationRequestRepository implements Authoriz @Override public void saveAuthorizationRequest(AuthorizationRequestAttributes authorizationRequest, HttpServletRequest request, - HttpServletResponse response) { + HttpServletResponse response) { if (authorizationRequest == null) { this.removeAuthorizationRequest(request); return; diff --git a/oauth2/oauth2-client/src/test/java/org/springframework/security/oauth2/client/web/AuthorizationCodeAuthenticationProcessingFilterTests.java b/oauth2/oauth2-client/src/test/java/org/springframework/security/oauth2/client/web/AuthorizationCodeAuthenticationProcessingFilterTests.java index d8b3e1a81b..43ce706245 100644 --- a/oauth2/oauth2-client/src/test/java/org/springframework/security/oauth2/client/web/AuthorizationCodeAuthenticationProcessingFilterTests.java +++ b/oauth2/oauth2-client/src/test/java/org/springframework/security/oauth2/client/web/AuthorizationCodeAuthenticationProcessingFilterTests.java @@ -230,7 +230,7 @@ public class AuthorizationCodeAuthenticationProcessingFilterTests { private void setupAuthorizationRequest(AuthorizationRequestRepository authorizationRequestRepository, HttpServletRequest request, - HttpServletResponse response, + HttpServletResponse response, ClientRegistration clientRegistration, String state) { diff --git a/webflux/src/main/java/org/springframework/security/web/reactive/result/method/annotation/AuthenticationPrincipalArgumentResolver.java b/webflux/src/main/java/org/springframework/security/web/reactive/result/method/annotation/AuthenticationPrincipalArgumentResolver.java index d6f9dbb66b..d27cf6ac3f 100644 --- a/webflux/src/main/java/org/springframework/security/web/reactive/result/method/annotation/AuthenticationPrincipalArgumentResolver.java +++ b/webflux/src/main/java/org/springframework/security/web/reactive/result/method/annotation/AuthenticationPrincipalArgumentResolver.java @@ -94,7 +94,7 @@ public class AuthenticationPrincipalArgumentResolver extends HandlerMethodArgume * @return the {@link Annotation} that was found or null. */ private T findMethodAnnotation(Class annotationClass, - MethodParameter parameter) { + MethodParameter parameter) { T annotation = parameter.getParameterAnnotation(annotationClass); if (annotation != null) { return annotation; diff --git a/webflux/src/test/java/org/springframework/security/web/method/ResolvableMethod.java b/webflux/src/test/java/org/springframework/security/web/method/ResolvableMethod.java index ccaefde0f9..7b48baa0dc 100644 --- a/webflux/src/test/java/org/springframework/security/web/method/ResolvableMethod.java +++ b/webflux/src/test/java/org/springframework/security/web/method/ResolvableMethod.java @@ -438,7 +438,7 @@ public class ResolvableMethod { * @param generics optional extra generic types */ public MethodParameter resolveReturnType(Class returnType, ResolvableType generic, - ResolvableType... generics) { + ResolvableType... generics) { return returning(returnType, generic, generics).build().returnType(); }