Merge branch '2.7.x'

pull/30748/head
Stephane Nicoll 3 years ago
commit 3175fb8302

@ -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) { private String normalizePrefix(String location) {
return location.replace("filesystem:", "file:"); return location.replace("filesystem:", "file:");
} }

Loading…
Cancel
Save