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

@@ -55,8 +55,8 @@ public class RunCommand extends OptionParsingCommand {
}
public void stop() {
if (this.getHandler() != null) {
((RunOptionHandler) this.getHandler()).stop();
if (getHandler() != null) {
((RunOptionHandler) getHandler()).stop();
}
}

View File

@@ -266,7 +266,7 @@ public class AetherGrapeEngine implements GrapeEngine {
@Override
public URI[] resolve(Map args, Map... dependencyMaps) {
return this.resolve(args, null, dependencyMaps);
return resolve(args, null, dependencyMaps);
}
@Override

View File

@@ -139,7 +139,7 @@ class AetherGrapeEngineTests {
@Test
void resolutionWithCustomResolver() {
Map<String, Object> args = new HashMap<>();
AetherGrapeEngine grapeEngine = this.createGrapeEngine();
AetherGrapeEngine grapeEngine = createGrapeEngine();
grapeEngine.addResolver(createResolver("spring-releases", "https://repo.spring.io/release"));
Map<String, Object> dependency = createDependency("io.spring.docresources", "spring-doc-resources",
"0.1.1.RELEASE");