[hibernate-issues] [Hibernate-JIRA] Commented: (HV-301) add a trim property to @NotEmpty please.
Ken Egervari (JIRA)
noreply at atlassian.com
Mon Mar 22 17:29:31 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HV-301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35917#action_35917 ]
Ken Egervari commented on HV-301:
---------------------------------
Are you kidding? I am totally sold on @NonBlank.
I give it 2 thumbs up.
> 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