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

@@ -18,7 +18,7 @@ package sample.web.ui;
import java.util.Calendar;
import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.NotEmpty;
/**
* @author Rob Winch
@@ -66,4 +66,5 @@ public class Message {
public void setSummary(String summary) {
this.summary = summary;
}
}