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:
Gary D. Gregory 2013-11-19 00:32:15 +00:00
parent 6f95e26fc9
commit fc3d530961
1 changed files with 2 additions and 3 deletions

View File

@ -133,10 +133,9 @@ public class SingletonListIterator<E> implements ResettableListIterator<E> {
public void remove() { public void remove() {
if(!nextCalled || removed) { if(!nextCalled || removed) {
throw new IllegalStateException(); throw new IllegalStateException();
} else {
object = null;
removed = true;
} }
object = null;
removed = true;
} }
/** /**