Skip to content

Commit 3ad44d7

Browse files
author
Alexandre Dutra
committed
Fix wrong assertion in javadocs of PagingIterable#isFullyFetched()
The assertion: "!isFullyFetched() never guarantees that the result set is not exhausted" ...is actually wrong: !isFullyFetched() ALWAYS guarantees that the result set is not exhausted. This commit removes the double negation in the sentence above and rewrites it in a more straight-forward way.
1 parent cef38fd commit 3ad44d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

driver-core/src/main/java/com/datastax/driver/core/PagingIterable.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public interface PagingIterable<S extends PagingIterable<S, T>, T> extends Itera
3636
*
3737
* <p>Note that if {@code isFullyFetched()}, then {@link #getAvailableWithoutFetching} will return
3838
* how many rows remain in the result set before exhaustion. But please note that {@code
39-
* !isFullyFetched()} never guarantees that the result set is not exhausted (you should call
40-
* {@link #isExhausted()} to verify it).
39+
* isFullyFetched()} never guarantees that the result set is exhausted (you should call {@link
40+
* #isExhausted()} to verify it).
4141
*
4242
* @return whether all results have been fetched.
4343
*/

0 commit comments

Comments
 (0)