From dd76a62260b8c520ae28942932b2fd02f99eb464 Mon Sep 17 00:00:00 2001 From: prde9306 Date: Mon, 12 Jul 2021 16:39:57 +0900 Subject: [PATCH] import org.hibernate.validator.constraints.NotEmpty is deprecated --- .../java/org/springframework/samples/mvc/form/FormBean.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/samples/mvc/form/FormBean.java b/src/main/java/org/springframework/samples/mvc/form/FormBean.java index fe4c6ba5b..00482d227 100644 --- a/src/main/java/org/springframework/samples/mvc/form/FormBean.java +++ b/src/main/java/org/springframework/samples/mvc/form/FormBean.java @@ -5,9 +5,10 @@ import java.util.Map; import javax.validation.constraints.Min; +import javax.validation.constraints.NotEmpty; import javax.validation.constraints.Past; -import org.hibernate.validator.constraints.NotEmpty; + import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.NumberFormat; import org.springframework.format.annotation.DateTimeFormat.ISO;