diff --git a/jOOQ/src/main/java/org/jooq/impl/CursorImpl.java b/jOOQ/src/main/java/org/jooq/impl/CursorImpl.java index ff272823c3..cad050fa4d 100644 --- a/jOOQ/src/main/java/org/jooq/impl/CursorImpl.java +++ b/jOOQ/src/main/java/org/jooq/impl/CursorImpl.java @@ -1230,7 +1230,7 @@ class CursorImpl implements Cursor { @Override public final boolean hasNext() { if (hasNext == null) { - next = fetch(); + next = fetchOne(); hasNext = (next != null); } @@ -1240,7 +1240,7 @@ class CursorImpl implements Cursor { @Override public final R next() { if (hasNext == null) { - return fetch(); + return fetchOne(); } R result = next; @@ -1249,7 +1249,7 @@ class CursorImpl implements Cursor { return result; } - private final R fetch() { + private final R fetchOne() { R record = null; try {