[
http://opensource.atlassian.com/projects/hibernate/browse/HV-35?page=com....
]
Sanne Grinovero updated HV-35:
------------------------------
Attachment: validator-allchanges.patch
This is the summary of all my changes, including the new feature of this issue HV-35,
code (partially) solving HV-23, and changes I had proposed for HV-52.
It also includes the tests for this issue, which were not previously submitted in other
patches.
If you commit this one you could mark HV-35, HV-23 and HV-52 as resolved;
although I would like to hear your opinion about all of them,
HV-23 may require a new feature request.
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
Attachments: validator-allchanges.patch, validator-NotEmpty-trimcapability.patch
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