From cb4af4039e07e0a2cfbb64667fc935e6b803d392 Mon Sep 17 00:00:00 2001 From: Grzegorz Piwowarek Date: Thu, 3 Oct 2024 10:13:16 -0600 Subject: [PATCH] Suppress Option serialization warnings --- vavr/src/main/java/io/vavr/control/Option.java | 1 + 1 file changed, 1 insertion(+) diff --git a/vavr/src/main/java/io/vavr/control/Option.java b/vavr/src/main/java/io/vavr/control/Option.java index 4808ef81e..f9cbd72a3 100644 --- a/vavr/src/main/java/io/vavr/control/Option.java +++ b/vavr/src/main/java/io/vavr/control/Option.java @@ -458,6 +458,7 @@ final class Some implements Option, Serializable { private static final long serialVersionUID = 1L; + @SuppressWarnings("serial") // Conditionally serializable private final T value; /**