|
|
@ -161,8 +161,8 @@ public class FlywayAutoConfiguration {
|
|
|
|
flyway.setCallbacks(this.callbacks.toArray(new Callback[0]));
|
|
|
|
flyway.setCallbacks(this.callbacks.toArray(new Callback[0]));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (this.callbacks.isEmpty()) {
|
|
|
|
else if (this.callbacks.isEmpty()) {
|
|
|
|
flyway.setCallbacks(
|
|
|
|
flyway.setCallbacks(
|
|
|
|
this.flywayCallbacks.toArray(new FlywayCallback[0]));
|
|
|
|
this.flywayCallbacks.toArray(new FlywayCallback[0]));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
throw new IllegalStateException(
|
|
|
|
throw new IllegalStateException(
|
|
|
|