Use standard bean validation annotations that are new in 2.0

See gh-9969
This commit is contained in:
Andy Wilkinson
2017-09-20 12:05:03 +01:00
parent 92beba10fe
commit 8ab12d909e
3 changed files with 5 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.NotBlank;
import org.springframework.context.annotation.Description;
import org.springframework.http.MediaType;