From 0a6750464650421fc8b721584b2b7ed232008ac8 Mon Sep 17 00:00:00 2001 From: Glavo Date: Tue, 7 Jan 2025 23:44:25 +0800 Subject: [PATCH] Add @NonExtendable to Traversable::asGeneric() --- kala-base/src/main/java/kala/collection/base/Traversable.java | 1 + 1 file changed, 1 insertion(+) diff --git a/kala-base/src/main/java/kala/collection/base/Traversable.java b/kala-base/src/main/java/kala/collection/base/Traversable.java index 9d561ec0..a90bb13f 100644 --- a/kala-base/src/main/java/kala/collection/base/Traversable.java +++ b/kala-base/src/main/java/kala/collection/base/Traversable.java @@ -78,6 +78,7 @@ public String toString() { }; } + @ApiStatus.NonExtendable default @NotNull Traversable asGeneric() { return this; }