mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-03 07:49:03 +00:00
Improve null-safety of module/spring-boot-flyway
See gh-46926
This commit is contained in:
+2
-1
@@ -26,6 +26,7 @@ import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.function.BiConsumer;
|
||||
import java.util.function.Consumer;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
|
||||
@@ -575,7 +576,7 @@ public final class FlywayAutoConfiguration {
|
||||
*/
|
||||
static class Extension<E extends ConfigurationExtension> {
|
||||
|
||||
private final SingletonSupplier<E> extension;
|
||||
private final Supplier<E> extension;
|
||||
|
||||
Extension(FluentConfiguration configuration, Class<E> type, String name) {
|
||||
this.extension = SingletonSupplier.of(() -> {
|
||||
|
||||
Reference in New Issue
Block a user