Remove this keyword on member method invocations
See gh-21007
This commit is contained in:
committed by
Stephane Nicoll
parent
f0d4192df9
commit
29717423a3
@@ -81,7 +81,7 @@ public class BasicJsonTester {
|
||||
* resources
|
||||
*/
|
||||
protected final void initialize(Class<?> resourceLoadClass) {
|
||||
this.initialize(resourceLoadClass, null);
|
||||
initialize(resourceLoadClass, null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -165,7 +165,7 @@ public class JacksonTester<T> extends AbstractJsonMarshalTester<T> {
|
||||
* @return the new instance
|
||||
*/
|
||||
public JacksonTester<T> forView(Class<?> view) {
|
||||
return new JacksonTester<>(this.getResourceLoadClass(), this.getType(), this.objectMapper, view);
|
||||
return new JacksonTester<>(getResourceLoadClass(), getType(), this.objectMapper, view);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -97,7 +97,7 @@ class SpyDefinition extends Definition {
|
||||
}
|
||||
settings.spiedInstance(instance);
|
||||
settings.defaultAnswer(Mockito.CALLS_REAL_METHODS);
|
||||
if (this.isProxyTargetAware()) {
|
||||
if (isProxyTargetAware()) {
|
||||
settings.verificationStartedListeners(new SpringAopBypassingVerificationStartedListener());
|
||||
}
|
||||
return (T) mock(instance.getClass(), settings);
|
||||
|
||||
Reference in New Issue
Block a user