[hibernate-issues] [Hibernate-JIRA] Created: (HV-301) add a trim property to @NotEmpty please.

Ken Egervari (JIRA) noreply at atlassian.com
Mon Mar 22 04:09:32 EDT 2010


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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list