commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1440526 - /commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionTest.java
Date Wed, 30 Jan 2013 17:10:24 GMT
Author: sebb
Date: Wed Jan 30 17:10:23 2013
New Revision: 1440526

URL: http://svn.apache.org/viewvc?rev=1440526&view=rev
Log:
Exception not thrown

Modified:
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionTest.java

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionTest.java?rev=1440526&r1=1440525&r2=1440526&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionTest.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionTest.java Wed Jan
30 17:10:23 2013
@@ -50,7 +50,7 @@ public class OptionTest extends TestCase
     }
 
     // See http://issues.apache.org/jira/browse/CLI-21
-    public void testClone() throws CloneNotSupportedException
+    public void testClone()
     {
         TestOption a = new TestOption("a", true, "");
         TestOption b = (TestOption) a.clone();
@@ -83,7 +83,7 @@ public class OptionTest extends TestCase
         }
     }
 
-    public void testSubclass() throws CloneNotSupportedException
+    public void testSubclass()
     {
         Option option = new DefaultOption("f", "file", "myfile.txt");
         Option clone = (Option) option.clone();



Mime
View raw message