diff --git a/core/src/main/java/org/springframework/security/core/parameters/DefaultSecurityParameterNameDiscoverer.java b/core/src/main/java/org/springframework/security/core/parameters/DefaultSecurityParameterNameDiscoverer.java index 7a7b339917..8c2792eaa8 100644 --- a/core/src/main/java/org/springframework/security/core/parameters/DefaultSecurityParameterNameDiscoverer.java +++ b/core/src/main/java/org/springframework/security/core/parameters/DefaultSecurityParameterNameDiscoverer.java @@ -22,7 +22,6 @@ import java.util.List; import java.util.Set; import org.springframework.core.DefaultParameterNameDiscoverer; -import org.springframework.core.LocalVariableTableParameterNameDiscoverer; import org.springframework.core.ParameterNameDiscoverer; import org.springframework.core.PrioritizedParameterNameDiscoverer; import org.springframework.util.Assert; @@ -36,11 +35,6 @@ import org.springframework.util.ClassUtils; *
  • Will use an instance of {@link AnnotationParameterNameDiscoverer} with {@link P} as * a valid annotation. If, Spring Data is on the classpath will also add Param annotation. *
  • - *
  • If Spring 4 is on the classpath, then DefaultParameterNameDiscoverer is added. This - * attempts to use JDK 8 information first and falls back to - * {@link LocalVariableTableParameterNameDiscoverer}.
  • - *
  • If Spring 4 is not on the classpath, then - * {@link LocalVariableTableParameterNameDiscoverer} is added directly.
  • * * * @author Rob Winch