pull/14783/merge
Andy Wilkinson 6 years ago
parent 85a4fb389d
commit 459d2943e7

@ -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(

Loading…
Cancel
Save