File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/org/lmdbjava Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public final class CursorIterable<T> implements
53
53
private final Comparator <T > comparator ;
54
54
private final Cursor <T > cursor ;
55
55
private final KeyVal <T > entry ;
56
- private boolean iterableReturned ;
56
+ private boolean iteratorReturned ;
57
57
private final KeyRange <T > range ;
58
58
private State state = REQUIRES_INITIAL_OP ;
59
59
@@ -85,10 +85,10 @@ public void close() {
85
85
@ Override
86
86
@ SuppressWarnings ("checkstyle:AnonInnerLength" )
87
87
public Iterator <KeyVal <T >> iterator () {
88
- if (iterableReturned ) {
89
- throw new IllegalStateException ("Iterable can only be returned once" );
88
+ if (iteratorReturned ) {
89
+ throw new IllegalStateException ("Iterator can only be returned once" );
90
90
}
91
- iterableReturned = true ;
91
+ iteratorReturned = true ;
92
92
93
93
return new Iterator <KeyVal <T >>() {
94
94
@ Override
You can’t perform that action at this time.
0 commit comments