@@ -5123,7 +5123,7 @@ public static final class Case0<T, R> implements Case<T, R> {
5123
5123
private static final long serialVersionUID = 1L ;
5124
5124
5125
5125
private final Pattern0 <T > pattern ;
5126
- private final Function <? super T , ? extends R > f ;
5126
+ private final transient Function <? super T , ? extends R > f ;
5127
5127
5128
5128
private Case0 (Pattern0 <T > pattern , Function <? super T , ? extends R > f ) {
5129
5129
this .pattern = pattern ;
@@ -5146,7 +5146,7 @@ public static final class Case1<T, T1, R> implements Case<T, R> {
5146
5146
private static final long serialVersionUID = 1L ;
5147
5147
5148
5148
private final Pattern1 <T , T1 > pattern ;
5149
- private final Function <? super T1 , ? extends R > f ;
5149
+ private final transient Function <? super T1 , ? extends R > f ;
5150
5150
5151
5151
private Case1 (Pattern1 <T , T1 > pattern , Function <? super T1 , ? extends R > f ) {
5152
5152
this .pattern = pattern ;
@@ -5169,7 +5169,7 @@ public static final class Case2<T, T1, T2, R> implements Case<T, R> {
5169
5169
private static final long serialVersionUID = 1L ;
5170
5170
5171
5171
private final Pattern2 <T , T1 , T2 > pattern ;
5172
- private final BiFunction <? super T1 , ? super T2 , ? extends R > f ;
5172
+ private final transient BiFunction <? super T1 , ? super T2 , ? extends R > f ;
5173
5173
5174
5174
private Case2 (Pattern2 <T , T1 , T2 > pattern , BiFunction <? super T1 , ? super T2 , ? extends R > f ) {
5175
5175
this .pattern = pattern ;
@@ -5654,4 +5654,4 @@ public boolean isDefinedAt(T obj) {
5654
5654
}
5655
5655
}
5656
5656
}
5657
- }
5657
+ }
0 commit comments