[hibernate-issues] [Hibernate-JIRA] Created: (HV-502) Changing Generic Type on @Size, @Pattern a.s.o. from String to CharacterSequence
Andreas Grund (JIRA)
noreply at atlassian.com
Mon Jun 27 04:44:53 EDT 2011
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list