commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bspeak...@apache.org
Subject svn commit: r588351 - /commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/EmailValidator.java
Date Thu, 25 Oct 2007 20:54:01 GMT
Author: bspeakmon
Date: Thu Oct 25 13:54:00 2007
New Revision: 588351

URL: http://svn.apache.org/viewvc?rev=588351&view=rev
Log:
- EmailValidator now implements Serializable like all other validators

Modified:
    commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/EmailValidator.java

Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/EmailValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/EmailValidator.java?rev=588351&r1=588350&r2=588351&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/EmailValidator.java
(original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/EmailValidator.java
Thu Oct 25 13:54:00 2007
@@ -18,6 +18,7 @@
 
 import org.apache.oro.text.perl.Perl5Util;
 
+import java.io.Serializable;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
@@ -39,7 +40,7 @@
  * @version $Revision$ $Date$
  * @since Validator 1.4
  */
-public class EmailValidator {
+public class EmailValidator implements Serializable {
 
     private static final String SPECIAL_CHARS = "\\000-\\037\\(\\)<>@,;:'\\\\\\\"\\.\\[\\]\\177";
     private static final String VALID_CHARS = "[^\\s" + SPECIAL_CHARS + "]";



Mime
View raw message