diff --git a/src/main/java/com/bakdata/util/seq2/PairSeq.java b/src/main/java/com/bakdata/util/seq2/PairSeq.java index 0865bc7..2ffe75e 100644 --- a/src/main/java/com/bakdata/util/seq2/PairSeq.java +++ b/src/main/java/com/bakdata/util/seq2/PairSeq.java @@ -1044,7 +1044,7 @@ default Seq2 flatMapToOptional( @Override @Deprecated default void forEach(final Consumer> action) { - this.toSeq2().forEach(action); + BaseSeq.super.forEach(action); } /**