Remove this keyword on member method invocations

See gh-21007
This commit is contained in:
Johnny Lim
2020-04-18 11:54:51 +09:00
committed by Stephane Nicoll
parent f0d4192df9
commit 29717423a3
45 changed files with 76 additions and 79 deletions

View File

@@ -81,7 +81,7 @@ public class BasicJsonTester {
* resources
*/
protected final void initialize(Class<?> resourceLoadClass) {
this.initialize(resourceLoadClass, null);
initialize(resourceLoadClass, null);
}
/**

View File

@@ -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);
}
/**

View File

@@ -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);