From 8c372843f915dea4aa38885fad0fa9811e172fa3 Mon Sep 17 00:00:00 2001 From: Grzegorz Piwowarek Date: Thu, 3 Oct 2024 09:10:14 -0600 Subject: [PATCH] Mark 'Case*' internal functions as 'transient' --- vavr/src-gen/main/java/io/vavr/API.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vavr/src-gen/main/java/io/vavr/API.java b/vavr/src-gen/main/java/io/vavr/API.java index 346667aac..96d379f5f 100644 --- a/vavr/src-gen/main/java/io/vavr/API.java +++ b/vavr/src-gen/main/java/io/vavr/API.java @@ -5123,7 +5123,7 @@ public static final class Case0 implements Case { private static final long serialVersionUID = 1L; private final Pattern0 pattern; - private final Function f; + private final transient Function f; private Case0(Pattern0 pattern, Function f) { this.pattern = pattern; @@ -5146,7 +5146,7 @@ public static final class Case1 implements Case { private static final long serialVersionUID = 1L; private final Pattern1 pattern; - private final Function f; + private final transient Function f; private Case1(Pattern1 pattern, Function f) { this.pattern = pattern; @@ -5169,7 +5169,7 @@ public static final class Case2 implements Case { private static final long serialVersionUID = 1L; private final Pattern2 pattern; - private final BiFunction f; + private final transient BiFunction f; private Case2(Pattern2 pattern, BiFunction f) { this.pattern = pattern; @@ -5654,4 +5654,4 @@ public boolean isDefinedAt(T obj) { } } } -} \ No newline at end of file +}