Skip to content

Commit

Permalink
LocalVariableTableParameterNameDiscoverer for removal
Browse files Browse the repository at this point in the history
  • Loading branch information
twelvet-s committed Nov 26, 2023
1 parent 389e029 commit d53cec7
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@
* @date 2020/9/25
*/

import java.lang.reflect.Method;

import com.pig4cloud.plugin.idempotent.annotation.Idempotent;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.reflect.MethodSignature;
import org.springframework.core.LocalVariableTableParameterNameDiscoverer;
import org.springframework.core.DefaultParameterNameDiscoverer;
import org.springframework.core.ParameterNameDiscoverer;
import org.springframework.expression.Expression;
import org.springframework.expression.spel.standard.SpelExpressionParser;
import org.springframework.expression.spel.support.StandardEvaluationContext;

import java.lang.reflect.Method;

/**
* @author lengleng
* <p>
Expand All @@ -25,7 +26,7 @@ public class ExpressionResolver implements KeyResolver {

private static final SpelExpressionParser PARSER = new SpelExpressionParser();

private static final LocalVariableTableParameterNameDiscoverer DISCOVERER = new LocalVariableTableParameterNameDiscoverer();
private static final ParameterNameDiscoverer DISCOVERER = new DefaultParameterNameDiscoverer();

@Override
public String resolver(Idempotent idempotent, JoinPoint point) {
Expand Down

0 comments on commit d53cec7

Please sign in to comment.