From 1605a9447289e666da743bd0d457639694ddf264 Mon Sep 17 00:00:00 2001 From: Picnic-Bot Date: Fri, 22 Dec 2023 02:07:55 +0000 Subject: [PATCH 1/2] Upgrade version.error-prone-orig 2.23.0 -> 2.24.0 See: - https://github.com/google/error-prone/releases/tag/v2.24.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3a97429c43..f9f15b81ff 100644 --- a/pom.xml +++ b/pom.xml @@ -205,7 +205,7 @@ 1.10.4 ${version.error-prone-orig} v${version.error-prone-orig}-picnic-1 - 2.23.0 + 2.24.0 0.1.21 1.0 11 From 77d1c2718d0e97df2aa81baff3e0ad197e8b1f4e Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Fri, 22 Dec 2023 07:18:34 +0100 Subject: [PATCH 2/2] Apply suggestion --- .../java/tech/picnic/errorprone/refasterrules/ReactorRules.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0a323cc36e..977248a2d8 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 @@ -100,7 +100,7 @@ Mono after(T value) { } /** Prefer {@link Mono#justOrEmpty(Object)} over more contrived alternatives. */ - static final class MonoJustOrEmptyObject<@Nullable T> { + static final class MonoJustOrEmptyObject { @BeforeTemplate Mono before(T value) { return Mono.justOrEmpty(Optional.ofNullable(value));