package com.annimon.stream.operator;

import com.annimon.stream.function.UnaryOperator;
import com.annimon.stream.iterator.LsaIterator;
import jdk.internal.jline.internal.Nullable;
import org.jetbrains.annotations.NotNull;

public class ObjIterate<T> extends LsaIterator<T> {

    private final UnaryOperator<T> op;
    private T current;

    public ObjIterate(@Nullable T seed, @NotNull UnaryOperator<T> op) {
        this.op = op;
        current = seed;
    }

    @Override
    public boolean hasNext() {
        return true;
    }

    @Override
    public T nextIteration() {
        final T old = current;
        current = op.apply(current);
        return old;
    }
}

@@ -140,44 +140,41 @@
 ort 
-jdk.internal.jline.internal.Nullable
+org.jetbrains.annotations.NotNull
 ;%0Aim
@@ -205,22 +205,23 @@
 ations.N
-otN
 ull
+able
 ;%0A%0Apubli

Fix wrong import