fix letover nullpointer

This commit is contained in:
Willem Cazander 2022-10-30 09:59:25 +01:00
parent d0bb36c5af
commit ceb422d869

View file

@ -62,7 +62,6 @@ public interface Iteratorᴿᵈ<E> extends
return new Iterator<>() { return new Iterator<>() {
@Override @Override
public boolean hasNext() { public boolean hasNext() {
this.forEachRemaining(null);
return iterator.hatNächsteᴿᵈ(); return iterator.hatNächsteᴿᵈ();
} }
@Override @Override