Remove this keyword on member method invocations
See gh-21007
This commit is contained in:
committed by
Stephane Nicoll
parent
f0d4192df9
commit
29717423a3
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user