Simplify and avoid complaints about "dead store to actual"
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476864 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c1be92fbfb
commit
25d443fb05
|
@ -112,8 +112,7 @@ public class NodeListIteratorTest extends AbstractIteratorTest<Node> {
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
public void testNullConstructor(){
|
public void testNullConstructor(){
|
||||||
try{
|
try{
|
||||||
@SuppressWarnings("unused")
|
new NodeListIterator((Node) null);
|
||||||
final NodeListIterator iter = new NodeListIterator((Node) null);
|
|
||||||
fail("IllegalArgumentException expected!");
|
fail("IllegalArgumentException expected!");
|
||||||
}catch(final IllegalArgumentException e){
|
}catch(final IllegalArgumentException e){
|
||||||
// expected.
|
// expected.
|
||||||
|
|
Loading…
Reference in New Issue