Remove leading whitespaces

This commit is contained in:
Rob Winch 2017-09-18 11:52:31 -05:00
parent f8ee9944ff
commit e345dd106c
6 changed files with 6 additions and 6 deletions

View File

@ -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");

View File

@ -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);

View File

@ -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;

View File

@ -230,7 +230,7 @@ public class AuthorizationCodeAuthenticationProcessingFilterTests {
private void setupAuthorizationRequest(AuthorizationRequestRepository authorizationRequestRepository,
HttpServletRequest request,
HttpServletResponse response,
HttpServletResponse response,
ClientRegistration clientRegistration,
String state) {

View File

@ -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;

View File

@ -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();
}