Use standard bean validation annotations that are new in 2.0
See gh-9969
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user