commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bspeak...@apache.org
Subject svn commit: r589277 - /commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/EmailValidator.java
Date Sun, 28 Oct 2007 06:26:51 GMT
Author: bspeakmon
Date: Sat Oct 27 23:26:49 2007
New Revision: 589277

URL: http://svn.apache.org/viewvc?rev=589277&view=rev
Log:
- replacing accidentally removed line

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=589277&r1=589276&r2=589277&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
Sat Oct 27 23:26:49 2007
@@ -71,7 +71,7 @@
         return EMAIL_VALIDATOR;
     }
 
-    /**
+    /**                                       l
      * Protected constructor for subclasses to use.
      */
     protected EmailValidator() {
@@ -95,6 +95,8 @@
         if (!asciiMatcher.matches()) {
             return false;
         }
+
+        email = stripComments(email);
 
         // Check the whole email address structure
         Pattern emailPattern = Pattern.compile(EMAIL_PATTERN);



Mime
View raw message