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

Hardy Ferentschik (JIRA) noreply at atlassian.com
Mon Mar 22 09:20:32 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HV-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hardy Ferentschik updated HV-301:
---------------------------------

    Fix Version/s: 4.1.0-Beta-1
      Component/s: validators

> 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
>          Components: validators
>            Reporter: Ken Egervari
>            Assignee: Hardy Ferentschik
>             Fix For: 4.1.0-Beta-1
>
>
> 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