From e815c4e48c2304c0c312c566da44b78feb0af816 Mon Sep 17 00:00:00 2001 From: Rick Ossendrijver Date: Thu, 29 Jun 2023 15:29:33 +0200 Subject: [PATCH] Apply Ssuggestion --- .../tech/picnic/errorprone/refasterrules/ReactorRules.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/ReactorRules.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/ReactorRules.java index 6a67eb1a20b..c30bbd11df4 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/ReactorRules.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/ReactorRules.java @@ -418,10 +418,7 @@ Mono after(Mono mono) { } } - /** - * Don't unnecessarily transform a {@link Mono} to a {@link Flux} before calling {@link - * Mono#single()}. - */ + /** Don't unnecessarily transform a {@link Mono} to a {@link Flux} to expect exactly one item. */ static final class MonoSingle { @BeforeTemplate Mono before(Mono mono) {