Polish: follow name convention - make immutable fields final
This commit is contained in:
committed by
Juergen Hoeller
parent
9bb7fcd997
commit
9a6fbf59c5
@@ -45,7 +45,7 @@ import org.springframework.lang.Nullable;
|
||||
class InstantiationModelAwarePointcutAdvisorImpl
|
||||
implements InstantiationModelAwarePointcutAdvisor, AspectJPrecedenceInformation, Serializable {
|
||||
|
||||
private static Advice EMPTY_ADVICE = new Advice() {};
|
||||
private static final Advice EMPTY_ADVICE = new Advice() {};
|
||||
|
||||
|
||||
private final AspectJExpressionPointcut declaredPointcut;
|
||||
|
||||
@@ -95,7 +95,7 @@ public abstract class Pointcuts {
|
||||
@SuppressWarnings("serial")
|
||||
private static class SetterPointcut extends StaticMethodMatcherPointcut implements Serializable {
|
||||
|
||||
public static SetterPointcut INSTANCE = new SetterPointcut();
|
||||
public static final SetterPointcut INSTANCE = new SetterPointcut();
|
||||
|
||||
@Override
|
||||
public boolean matches(Method method, @Nullable Class<?> targetClass) {
|
||||
@@ -116,7 +116,7 @@ public abstract class Pointcuts {
|
||||
@SuppressWarnings("serial")
|
||||
private static class GetterPointcut extends StaticMethodMatcherPointcut implements Serializable {
|
||||
|
||||
public static GetterPointcut INSTANCE = new GetterPointcut();
|
||||
public static final GetterPointcut INSTANCE = new GetterPointcut();
|
||||
|
||||
@Override
|
||||
public boolean matches(Method method, @Nullable Class<?> targetClass) {
|
||||
|
||||
Reference in New Issue
Block a user