Permalink
Browse files

Renaming.

  • Loading branch information...
1 parent 406904b commit 31f61c5de3753a86d58a5bf2399ea5ea7312d35b @cbeust committed Sep 19, 2012
@@ -1561,7 +1561,7 @@ public void setAcceptUnknownOptions(boolean b) {
m_acceptUnknownOptions = b;
}
- public List<String> getUnknownArgs() {
+ public List<String> getUnknownOptions() {
return m_unknownArgs;
}
@@ -958,7 +958,7 @@ public void partialValidation() {
jc.addObject(a);
jc.parse("-a", "foo", "-h", "host");
Assert.assertEquals(a.host, "host");
- Assert.assertEquals(jc.getUnknownArgs(), Lists.newArrayList("-a", "foo"));
+ Assert.assertEquals(jc.getUnknownOptions(), Lists.newArrayList("-a", "foo"));
}
@Test(enabled = false)

0 comments on commit 31f61c5

Please sign in to comment.