add a trim property to @NotEmpty please.
-----------------------------------------
Key: HV-301
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-301
Project: Hibernate Validator
Issue Type: New Feature
Reporter: Ken Egervari
Assignee: Hardy Ferentschik
You can set to false to make sure not to break anything, but this makes life easier so
that it doesn't accept " " or "\n" and stuff like that, which to
most people, still means "empty" (I am pressed to find many cases where it does
not mean empty honestly).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira