Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F6A64FCE for ; Fri, 27 May 2011 17:32:28 +0000 (UTC) Received: (qmail 1752 invoked by uid 500); 27 May 2011 17:32:28 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 1694 invoked by uid 500); 27 May 2011 17:32:28 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 1687 invoked by uid 99); 27 May 2011 17:32:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 May 2011 17:32:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 May 2011 17:32:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 476D123889EA; Fri, 27 May 2011 17:32:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@commons.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110527173205.476D123889EA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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);