Skip to content

Commit 553f7f2

Browse files
committed
<adjust>: remove test code and adjust code format.
1 parent a7aff6b commit 553f7f2

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
@@ -127,7 +127,3 @@ eclipse.classpath.file.whenMerged {
127127
jreEntry.entryAttributes['module'] = 'true'
128128
jreEntry.entryAttributes['limit-modules'] = 'java.base'
129129
}
130-
131-
tasks.named('compileJava') {
132-
options.compilerArgs += ['-Xlint:deprecation']
133-
}

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)