Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543244 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
53c08a37ef
commit
bd861c0d80
|
@ -106,10 +106,9 @@ public class SingletonIterator<E>
|
|||
if (removeAllowed) {
|
||||
if (removed || beforeFirst) {
|
||||
throw new IllegalStateException();
|
||||
} else {
|
||||
object = null;
|
||||
removed = true;
|
||||
}
|
||||
object = null;
|
||||
removed = true;
|
||||
} else {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue