Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543242 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6f95e26fc9
commit
fc3d530961
|
@ -133,10 +133,9 @@ public class SingletonListIterator<E> implements ResettableListIterator<E> {
|
|||
public void remove() {
|
||||
if(!nextCalled || removed) {
|
||||
throw new IllegalStateException();
|
||||
} else {
|
||||
object = null;
|
||||
removed = true;
|
||||
}
|
||||
object = null;
|
||||
removed = true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue