mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-05 16:59:28 +00:00
Remove unused method
See gh-30655
This commit is contained in:
-9
@@ -325,15 +325,6 @@ public class FlywayAutoConfiguration {
|
||||
}
|
||||
}
|
||||
|
||||
private boolean hasAtLeastOneLocation(ResourceLoader resourceLoader, Collection<String> locations) {
|
||||
for (String location : locations) {
|
||||
if (resourceLoader.getResource(normalizePrefix(location)).exists()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private String normalizePrefix(String location) {
|
||||
return location.replace("filesystem:", "file:");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user