You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2011/04/18 21:58:07 UTC

svn commit: r1094717 - /commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java

Author: sebb
Date: Mon Apr 18 19:58:06 2011
New Revision: 1094717

URL: http://svn.apache.org/viewvc?rev=1094717&view=rev
Log:
Javadoc
Make private static immutable array

Modified:
    commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java

Modified: commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java?rev=1094717&r1=1094716&r2=1094717&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java (original)
+++ commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java Mon Apr 18 19:58:06 2011
@@ -192,10 +192,6 @@ public class EmailValidatorTest extends 
     /**
      * Write this test according to parts of RFC, as opposed to the type of character
      * that is being tested.
-     *
-     * <p><b>FIXME</b>: This test fails so disable it with a leading _ for 1.1.4 release.
-     * The real solution is to fix the email parsing.
-     *
      */
     public void testEmailUserName()  {
 
@@ -317,7 +313,7 @@ public class EmailValidatorTest extends 
      * Mail::RFC822::Address & RFC::RFC822::Address perl test.pl
      * For traceability don't combine these test values with other tests.
      */
-    ResultPair[] testEmailFromPerl = {
+    private static final ResultPair[] testEmailFromPerl = {
         new ResultPair("abigail@example.com", true),
         new ResultPair("abigail@example.com ", true),
         new ResultPair(" abigail@example.com", true),