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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira