[hibernate-issues] [Hibernate-JIRA] Resolved: (HV-502) Changing Generic Type on @Size, @Pattern a.s.o. from String to CharacterSequence
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Thu Dec 8 05:53:22 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HV-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hardy Ferentschik resolved HV-502.
----------------------------------
Resolution: Fixed
> 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: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list