From 1b36ab5be01d0bd2ba9afb90f56f43f0533bfd39 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 7 Mar 2018 14:10:49 +0100 Subject: [PATCH] Fix wrong import --- .../boot/autoconfigure/orm/jpa/JpaProperties.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/JpaProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/JpaProperties.java index a5b1b3347d..0507663b9f 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/JpaProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/JpaProperties.java @@ -21,8 +21,8 @@ import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; +import java.util.function.Supplier; -import javax.inject.Provider; import javax.sql.DataSource; import org.hibernate.boot.model.naming.ImplicitNamingStrategy; @@ -244,7 +244,7 @@ public class JpaProperties { } private String determineDdlAuto(Map existing, - Provider defaultDdlAuto) { + Supplier defaultDdlAuto) { if (!existing.containsKey("hibernate.hbm2ddl.auto")) { String ddlAuto = (this.ddlAuto != null ? this.ddlAuto : defaultDdlAuto.get());