From 9c1c3100b70e87fb03d50e479d9e0c9e7d813e88 Mon Sep 17 00:00:00 2001 From: Gwenneg Lepage Date: Wed, 8 Sep 2021 09:42:57 +0200 Subject: [PATCH] Fix UniRepeat#until javadoc --- .../src/main/java/io/smallrye/mutiny/groups/UniRepeat.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/implementation/src/main/java/io/smallrye/mutiny/groups/UniRepeat.java b/implementation/src/main/java/io/smallrye/mutiny/groups/UniRepeat.java index d45c6572d..814ceeb6c 100644 --- a/implementation/src/main/java/io/smallrye/mutiny/groups/UniRepeat.java +++ b/implementation/src/main/java/io/smallrye/mutiny/groups/UniRepeat.java @@ -88,10 +88,10 @@ public Multi atMost(long times) { /** * Generates a stream, containing the items from the upstream {@link Uni}, resubscribed until the given predicate - * returns {@code true}. The predicate is called on the item produced by the {@link Uni}. If it does not pass, the + * returns {@code true}. The predicate is called on the item produced by the {@link Uni}. If it passes, the * item is not propagated downstream and the repetition is stopped. *

- * Unlike {@link #whilst(Predicate)}, the checked item is only propagated downstream if it passed the predicate. + * Unlike {@link #whilst(Predicate)}, the checked item is only propagated downstream if it did not pass the predicate. * For example, if you use an API returning "null" or an empty set once you reach the end, you can stop the * repetition when this case is detected. *