Changing Generic Type on @Size, @Pattern a.s.o. from String to CharacterSequence
--------------------------------------------------------------------------------
Key: HV-502
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-502
Project: Hibernate Validator
Issue Type: Improvement
Components: validators
Affects Versions: 4.2.0.CR1
Environment: Hibernate Validator 4.2
Reporter: Andreas Grund
Priority: Minor
Hi,
it would be nice, if the Generic Type of the Validators for the @Size or @Pattern
Annotation (exactly for all String based Validators) could be changed from String to
CharSequence. This allows the user to implement it own CharSequence Implementations (e.g.
a String Delegation class) and to use the Bean validation with his own Implementation
without the need of additional configuration.
Greetings,
Andreas
--
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