[
http://opensource.atlassian.com/projects/hibernate/browse/HV-35?page=com....
]
Sanne Grinovero commented on HV-35:
-----------------------------------
I am writing a patch for this, I need it and would like to study the code of Hibernate
Validator.
Will send a patch before monday.
Add a "trim" attribute to @NotEmpty
-----------------------------------
Key: HV-35
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-35
Project: Hibernate Validator
Issue Type: New Feature
Components: validators
Affects Versions: 3.0.0.ga
Reporter: Mike Youngstrom
Fix For: 3.0.1
Frequently where an empty string is invalid so would " " be invalid. I think
trim attribute added to @NotEmpty(trim=true) would be a simple and useful addition.
--
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