Statement unnecessarily nested within else clause.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543243 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2013-11-19 00:32:29 +00:00
parent fc3d530961
commit 53c08a37ef
1 changed files with 1 additions and 2 deletions

View File

@ -152,9 +152,8 @@ public class PeekingIterator<E> implements Iterator<E> {
public void remove() {
if (slotFilled) {
throw new IllegalStateException();
} else {
iterator.remove();
}
iterator.remove();
}
}