Skip to content

Commit

Permalink
Migrate to StandardReflectionParameterNameDiscoverer
Browse files Browse the repository at this point in the history
- This is per deprecation notes in
  LocalVariableTableParameterNameDiscoverer
- Relates #1122
  • Loading branch information
jvalkeal committed Nov 13, 2023
1 parent 1c974ac commit 41a340b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
import org.apache.commons.logging.LogFactory;
import org.springframework.aop.framework.Advised;
import org.springframework.aop.support.AopUtils;
import org.springframework.core.LocalVariableTableParameterNameDiscoverer;
import org.springframework.core.MethodParameter;
import org.springframework.core.ParameterNameDiscoverer;
import org.springframework.core.StandardReflectionParameterNameDiscoverer;
import org.springframework.core.annotation.AnnotationAttributes;
import org.springframework.core.annotation.AnnotationUtils;
import org.springframework.core.convert.TypeDescriptor;
Expand Down Expand Up @@ -397,7 +397,7 @@ private static class HandlerMethod {

private static final SpelExpressionParser EXPRESSION_PARSER = new SpelExpressionParser();

private static final ParameterNameDiscoverer PARAMETER_NAME_DISCOVERER = new LocalVariableTableParameterNameDiscoverer();
private static final ParameterNameDiscoverer PARAMETER_NAME_DISCOVERER = new StandardReflectionParameterNameDiscoverer();

private final Method method;

Expand Down

0 comments on commit 41a340b

Please sign in to comment.