commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1128407 - /commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java
Date Fri, 27 May 2011 17:32:05 GMT
Author: sebb
Date: Fri May 27 17:32:04 2011
New Revision: 1128407

URL: http://svn.apache.org/viewvc?rev=1128407&view=rev
Log:
Remove unthrown Exception

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=1128407&r1=1128406&r2=1128407&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
Fri May 27 17:32:04 2011
@@ -182,7 +182,7 @@ public class EmailValidatorTest extends 
      * Test that @localhost and @localhost.localdomain
      *  addresses are declared as valid when requested. 
      */
-    public void testEmailLocalhost() throws ValidatorException {
+    public void testEmailLocalhost() {
        // Check the default is not to allow
        EmailValidator noLocal = EmailValidator.getInstance(false);
        EmailValidator allowLocal = EmailValidator.getInstance(true);



Mime
View raw message