[hibernate-issues] [Hibernate-JIRA] Created: (HV-59) Unnecessary code in EmailValidator.
Rodolfo Federico Gamarra (JIRA)
noreply at atlassian.com
Thu May 22 09:49:33 EDT 2008
Unnecessary code in EmailValidator.
-----------------------------------
Key: HV-59
URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-59
Project: Hibernate Validator
Issue Type: Improvement
Components: validators
Affects Versions: 3.0.0.ga
Reporter: Rodolfo Federico Gamarra
Priority: Trivial
In class org.hibernate.validator.EmailValidator there's some unnecessary code. In method void initialize(Email parameters) the private field pattern is initialized twice, by calling java.util.regex.Pattern.compile two consecutive times.
--
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