Skip to content

Commit

Permalink
Suppress Option serialization warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit committed Oct 3, 2024
1 parent 4f8ee93 commit cb4af40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vavr/src/main/java/io/vavr/control/Option.java
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ final class Some<T> implements Option<T>, Serializable {

private static final long serialVersionUID = 1L;

@SuppressWarnings("serial") // Conditionally serializable
private final T value;

/**
Expand Down

0 comments on commit cb4af40

Please sign in to comment.