diff --git a/config/src/test/groovy/org/springframework/security/config/annotation/method/configuration/MethodSecurityServiceImpl.groovy b/config/src/test/java/org/springframework/security/config/annotation/method/configuration/MethodSecurityServiceImpl.java similarity index 92% rename from config/src/test/groovy/org/springframework/security/config/annotation/method/configuration/MethodSecurityServiceImpl.groovy rename to config/src/test/java/org/springframework/security/config/annotation/method/configuration/MethodSecurityServiceImpl.java index 26e14d5895..fd375901cd 100644 --- a/config/src/test/groovy/org/springframework/security/config/annotation/method/configuration/MethodSecurityServiceImpl.groovy +++ b/config/src/test/java/org/springframework/security/config/annotation/method/configuration/MethodSecurityServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,18 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.security.config.annotation.method.configuration; -import org.springframework.security.core.Authentication -import org.springframework.security.core.context.SecurityContextHolder +import org.springframework.security.core.Authentication; +import org.springframework.security.core.context.SecurityContextHolder; /** - * * @author Rob Winch - * */ public class MethodSecurityServiceImpl implements MethodSecurityService { - @Override public String preAuthorize() { return null; @@ -78,4 +76,5 @@ public class MethodSecurityServiceImpl implements MethodSecurityService { public String postAnnotation(String object) { return null; } + }