Remove unused method

See gh-30655
This commit is contained in:
Stephane Nicoll 2022-04-19 08:42:00 +02:00
parent 7b7b4f4f73
commit a0707124f2
1 changed files with 0 additions and 9 deletions

View File

@ -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:");
}