Remove this keyword on member method invocations
See gh-21007
This commit is contained in:
committed by
Stephane Nicoll
parent
f0d4192df9
commit
29717423a3
@@ -107,12 +107,12 @@ public class BomExtension {
|
||||
this.properties.put(library.getVersionProperty(), library.getVersion());
|
||||
for (Group group : library.getGroups()) {
|
||||
for (Module module : group.getModules()) {
|
||||
this.putArtifactVersionProperty(group.getId(), module.getName(), library.getVersionProperty());
|
||||
putArtifactVersionProperty(group.getId(), module.getName(), library.getVersionProperty());
|
||||
this.dependencyHandler.getConstraints().add(JavaPlatformPlugin.API_CONFIGURATION_NAME,
|
||||
createDependencyNotation(group.getId(), module.getName(), library.getVersion()));
|
||||
}
|
||||
for (String bomImport : group.getBoms()) {
|
||||
this.putArtifactVersionProperty(group.getId(), bomImport, library.getVersionProperty());
|
||||
putArtifactVersionProperty(group.getId(), bomImport, library.getVersionProperty());
|
||||
String bomDependency = createDependencyNotation(group.getId(), bomImport, library.getVersion());
|
||||
this.dependencyHandler.add(JavaPlatformPlugin.API_CONFIGURATION_NAME,
|
||||
this.dependencyHandler.platform(bomDependency));
|
||||
|
||||
@@ -35,17 +35,17 @@ final class UnstructuredDependencyVersion extends AbstractDependencyVersion impl
|
||||
|
||||
@Override
|
||||
public boolean isNewerThan(DependencyVersion other) {
|
||||
return this.compareTo(other) > 0;
|
||||
return compareTo(other) > 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSameMajorAndNewerThan(DependencyVersion other) {
|
||||
return this.compareTo(other) > 0;
|
||||
return compareTo(other) > 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSameMinorAndNewerThan(DependencyVersion other) {
|
||||
return this.compareTo(other) > 0;
|
||||
return compareTo(other) > 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -46,7 +46,7 @@ public class IntegrationTestPlugin implements Plugin<Project> {
|
||||
|
||||
@Override
|
||||
public void apply(Project project) {
|
||||
project.getPlugins().withType(JavaPlugin.class, (javaPlugin) -> this.configureIntegrationTesting(project));
|
||||
project.getPlugins().withType(JavaPlugin.class, (javaPlugin) -> configureIntegrationTesting(project));
|
||||
}
|
||||
|
||||
private void configureIntegrationTesting(Project project) {
|
||||
|
||||
Reference in New Issue
Block a user