From a78071dd64f11e67c8b6d7901d893a484aa3df5b Mon Sep 17 00:00:00 2001 From: Julien Viet Date: Thu, 12 Sep 2024 15:58:36 +0200 Subject: [PATCH] Remove usage of Handler/AsyncResult idiom. --- src/main/java/io/vertx/cassandra/impl/ResultSetImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/io/vertx/cassandra/impl/ResultSetImpl.java b/src/main/java/io/vertx/cassandra/impl/ResultSetImpl.java index 2309179..b24aa6c 100644 --- a/src/main/java/io/vertx/cassandra/impl/ResultSetImpl.java +++ b/src/main/java/io/vertx/cassandra/impl/ResultSetImpl.java @@ -94,7 +94,7 @@ public boolean wasApplied() { return resultSetRef.get().wasApplied(); } - private void loadMore(Context context, List loaded, Handler>> handler) { + private void loadMore(Context context, List loaded, Completable> handler) { int availableWithoutFetching = resultSetRef.get().remaining(); List rows = new ArrayList<>(loaded.size() + availableWithoutFetching); rows.addAll(loaded); @@ -109,13 +109,13 @@ private void loadMore(Context context, List loaded, Handler