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:
parent
fc3d530961
commit
53c08a37ef
|
@ -152,9 +152,8 @@ public class PeekingIterator<E> implements Iterator<E> {
|
|||
public void remove() {
|
||||
if (slotFilled) {
|
||||
throw new IllegalStateException();
|
||||
} else {
|
||||
iterator.remove();
|
||||
}
|
||||
iterator.remove();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue