Skip to content

Commit

Permalink
Let Range implement Serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavo committed Nov 5, 2024
1 parent c478c51 commit 79d8e89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kala-base/src/main/java/kala/range/Range.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
import kala.range.primitive.PrimitiveRange;
import org.jetbrains.annotations.NotNull;

public sealed abstract class Range<T> permits GenericRange, PrimitiveRange {
import java.io.Serializable;

public sealed abstract class Range<T> implements Serializable permits GenericRange, PrimitiveRange {
public abstract @NotNull RangeType getType();

public final BoundType getLowerBoundType() {
Expand Down

0 comments on commit 79d8e89

Please sign in to comment.