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:
Gary D. Gregory 2013-11-19 00:32:43 +00:00
parent 53c08a37ef
commit bd861c0d80
1 changed files with 2 additions and 3 deletions

View File

@ -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();
}