]
Hardy Ferentschik updated HV-502:
---------------------------------
Fix Version/s: 4.3.0.next
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
Fix For: 4.3.0.next
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.
For more information on JIRA, see: