mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-03 21:07:49 +08:00
added @Nullable to ScrollableResultsIterator.hasNext
This commit is contained in:
parent
1c143f2bd6
commit
826ecea938
@ -8,6 +8,8 @@ package com.mysema.query.hql.hibernate;
|
||||
import java.io.IOException;
|
||||
import java.util.NoSuchElementException;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
import org.hibernate.ScrollableResults;
|
||||
|
||||
import com.mysema.commons.lang.CloseableIterator;
|
||||
@ -25,6 +27,7 @@ public class ScrollableResultsIterator<T> implements CloseableIterator<T> {
|
||||
|
||||
private final boolean asArray;
|
||||
|
||||
@Nullable
|
||||
private Boolean hasNext;
|
||||
|
||||
public ScrollableResultsIterator(ScrollableResults results) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user