Skip to content

Commit a070712

Browse files
committed
Remove unused method
See gh-30655
1 parent 7b7b4f4 commit a070712

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -325,15 +325,6 @@ private void configureJavaMigrations(FluentConfiguration flyway, List<JavaMigrat
325325
}
326326
}
327327

328-
private boolean hasAtLeastOneLocation(ResourceLoader resourceLoader, Collection<String> locations) {
329-
for (String location : locations) {
330-
if (resourceLoader.getResource(normalizePrefix(location)).exists()) {
331-
return true;
332-
}
333-
}
334-
return false;
335-
}
336-
337328
private String normalizePrefix(String location) {
338329
return location.replace("filesystem:", "file:");
339330
}

0 commit comments

Comments
 (0)