fix nullability annotation
@@ -25,6 +25,8 @@ import java.util.Iterator;
import java.util.function.Consumer;
import java.util.function.Predicate;
+import javax.annotation.Nonnull;
+
import com.google.common.collect.FluentIterable;
import com.google.common.io.Closer;
import org.apache.jackrabbit.oak.plugins.document.Collection;
@@ -37,7 +39,6 @@ import org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentTraverser;
import org.apache.jackrabbit.oak.plugins.document.util.CloseableIterable;
import org.apache.jackrabbit.oak.plugins.document.util.Utils;
import org.apache.jackrabbit.oak.spi.state.NodeStateUtils;
-import org.jetbrains.annotations.NotNull;
import static com.google.common.collect.Iterables.concat;
import static com.google.common.collect.Iterables.transform;
@@ -65,7 +66,7 @@ public class NodeStateEntryTraverser implements Iterable<NodeStateEntry>, Closea
this.documentStore = documentStore;
}
- @NotNull
+ @Nonnull
@Override
public Iterator<NodeStateEntry> iterator() {
return getIncludedDocs().iterator();
