Remove leading whitespaces
This commit is contained in:
parent
f8ee9944ff
commit
e345dd106c
|
@ -45,7 +45,7 @@ public class Jwt extends SecurityToken implements JwtClaimAccessor {
|
|||
private final Map<String, Object> claims;
|
||||
|
||||
public Jwt(String tokenValue, Instant issuedAt, Instant expiresAt,
|
||||
Map<String, Object> headers, Map<String, Object> claims) {
|
||||
Map<String, Object> headers, Map<String, Object> claims) {
|
||||
super(tokenValue, issuedAt, expiresAt);
|
||||
Assert.notEmpty(headers, "headers cannot be empty");
|
||||
Assert.notEmpty(claims, "claims cannot be empty");
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -230,7 +230,7 @@ public class AuthorizationCodeAuthenticationProcessingFilterTests {
|
|||
|
||||
private void setupAuthorizationRequest(AuthorizationRequestRepository authorizationRequestRepository,
|
||||
HttpServletRequest request,
|
||||
HttpServletResponse response,
|
||||
HttpServletResponse response,
|
||||
ClientRegistration clientRegistration,
|
||||
String state) {
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ public class AuthenticationPrincipalArgumentResolver extends HandlerMethodArgume
|
|||
* @return the {@link Annotation} that was found or null.
|
||||
*/
|
||||
private <T extends Annotation> T findMethodAnnotation(Class<T> annotationClass,
|
||||
MethodParameter parameter) {
|
||||
MethodParameter parameter) {
|
||||
T annotation = parameter.getParameterAnnotation(annotationClass);
|
||||
if (annotation != null) {
|
||||
return annotation;
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue