From 9587f3280e36e4020d3f5f30f7c30560ee0557b4 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Tue, 6 Feb 2018 14:09:58 -0600 Subject: [PATCH] MethodSecurityServiceImpl groovy->java Issue: gh-4939 --- .../configuration/MethodSecurityServiceImpl.java} | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) rename config/src/test/{groovy/org/springframework/security/config/annotation/method/configuration/MethodSecurityServiceImpl.groovy => java/org/springframework/security/config/annotation/method/configuration/MethodSecurityServiceImpl.java} (92%) 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; } + }