Skip to content

Commit e3f81b6

Browse files
committed
Exception not thrown
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1440526 13f79535-47bb-0310-9956-ffa450edef68
1 parent 1868e65 commit e3f81b6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/org/apache/commons/cli/OptionTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void testClear()
5050
}
5151

5252
// See http://issues.apache.org/jira/browse/CLI-21
53-
public void testClone() throws CloneNotSupportedException
53+
public void testClone()
5454
{
5555
TestOption a = new TestOption("a", true, "");
5656
TestOption b = (TestOption) a.clone();
@@ -83,7 +83,7 @@ public String getValue()
8383
}
8484
}
8585

86-
public void testSubclass() throws CloneNotSupportedException
86+
public void testSubclass()
8787
{
8888
Option option = new DefaultOption("f", "file", "myfile.txt");
8989
Option clone = (Option) option.clone();

0 commit comments

Comments
 (0)