From 130da0592a520ac1e4e8a637bdcd8ec15e4ca61b 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) {