Remove this keyword on member method invocations
See gh-21007
This commit is contained in:
committed by
Stephane Nicoll
parent
f0d4192df9
commit
29717423a3
@@ -80,7 +80,7 @@ class LifecycleVersion implements Comparable<LifecycleVersion> {
|
||||
* version
|
||||
*/
|
||||
boolean isEqualOrGreaterThan(LifecycleVersion other) {
|
||||
return this.compareTo(other) >= 0;
|
||||
return compareTo(other) >= 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -34,7 +34,7 @@ class ErrorsTests extends AbstractJsonTests {
|
||||
|
||||
@Test
|
||||
void readValueDeserializesJson() throws Exception {
|
||||
Errors errors = this.getObjectMapper().readValue(getContent("errors.json"), Errors.class);
|
||||
Errors errors = getObjectMapper().readValue(getContent("errors.json"), Errors.class);
|
||||
Iterator<Error> iterator = errors.iterator();
|
||||
Error error1 = iterator.next();
|
||||
Error error2 = iterator.next();
|
||||
@@ -47,7 +47,7 @@ class ErrorsTests extends AbstractJsonTests {
|
||||
|
||||
@Test
|
||||
void toStringHasErrorDetails() throws Exception {
|
||||
Errors errors = this.getObjectMapper().readValue(getContent("errors.json"), Errors.class);
|
||||
Errors errors = getObjectMapper().readValue(getContent("errors.json"), Errors.class);
|
||||
assertThat(errors.toString()).isEqualTo("[TEST1: Test One, TEST2: Test Two]");
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ public class SpringBootExtension {
|
||||
* artifact will be the base name of the {@code bootWar} or {@code bootJar} task.
|
||||
*/
|
||||
public void buildInfo() {
|
||||
this.buildInfo(null);
|
||||
buildInfo(null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -78,7 +78,7 @@ public class BootRun extends JavaExec {
|
||||
}
|
||||
if (System.console() != null) {
|
||||
// Record that the console is available here for AnsiOutput to detect later
|
||||
this.getEnvironment().put("spring.output.ansi.console-available", true);
|
||||
getEnvironment().put("spring.output.ansi.console-available", true);
|
||||
}
|
||||
super.exec();
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ public abstract class AbstractJarWriter implements LoaderClassesWriter {
|
||||
* @throws IOException if the entries cannot be written
|
||||
*/
|
||||
public void writeEntries(JarFile jarFile) throws IOException {
|
||||
this.writeEntries(jarFile, EntryTransformer.NONE, UnpackHandler.NEVER);
|
||||
writeEntries(jarFile, EntryTransformer.NONE, UnpackHandler.NEVER);
|
||||
}
|
||||
|
||||
final void writeEntries(JarFile jarFile, EntryTransformer entryTransformer, UnpackHandler unpackHandler)
|
||||
|
||||
@@ -84,7 +84,7 @@ public class Repackager extends Packager {
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public void repackage(File destination, Libraries libraries, LaunchScript launchScript) throws IOException {
|
||||
this.repackage(destination, libraries, launchScript, null);
|
||||
repackage(destination, libraries, launchScript, null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -89,7 +89,7 @@ public abstract class ExecutableArchiveLauncher extends Launcher {
|
||||
if (this.classPathIndex != null) {
|
||||
urls.addAll(this.classPathIndex.getUrls());
|
||||
}
|
||||
return this.createClassLoader(urls.toArray(new URL[0]));
|
||||
return createClassLoader(urls.toArray(new URL[0]));
|
||||
}
|
||||
|
||||
private int guessClassPathSize() {
|
||||
|
||||
Reference in New Issue
Block a user