Skip to content

Commit 6a08d2f

Browse files
committed
<adjust>: remove test code and adjust code format.
1 parent 2915daf commit 6a08d2f

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

buildSrc/build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,3 @@ eclipse.classpath.file.whenMerged {
129129
}
130130

131131
jar.dependsOn check
132-
133-
tasks.named('compileJava') {
134-
options.compilerArgs += ['-Xlint:deprecation']
135-
}

buildSrc/src/main/java/org/springframework/boot/build/bom/CheckBom.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -209,19 +209,6 @@ private void checkDependencyManagementAlignment(Library library, List<String> er
209209
}
210210
}
211211

212-
// private File resolveBom(Library library, String alignsWithBom) {
213-
// String coordinates = alignsWithBom + ":" + library.getVersion().getVersion() + "@pom";
214-
// Set<File> files = this.configurations.detachedConfiguration(this.dependencies.create(coordinates))
215-
// .getResolvedConfiguration()
216-
// .getFiles();
217-
// if (files.size() != 1) {
218-
// throw new IllegalStateException(
219-
// "Expected a single file but '" + coordinates + "' resolved to " + files.size());
220-
// }
221-
// return files.iterator().next();
222-
// }
223-
224-
225212
private File resolveBom(Library library, String alignsWithBom) {
226213
String coordinates = alignsWithBom + ":" + library.getVersion().getVersion() + "@pom";
227214

0 commit comments

Comments
 (0)