From 52623b715d395f65f96e09f4492285935b797b4b Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Thu, 12 Sep 2024 13:34:11 +0200 Subject: Isolate CIT resewn compat --- src/main/kotlin/events/subscription/SubscriptionList.kt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/kotlin/events/subscription') diff --git a/src/main/kotlin/events/subscription/SubscriptionList.kt b/src/main/kotlin/events/subscription/SubscriptionList.kt index e74a65a..817efc3 100644 --- a/src/main/kotlin/events/subscription/SubscriptionList.kt +++ b/src/main/kotlin/events/subscription/SubscriptionList.kt @@ -21,5 +21,8 @@ interface SubscriptionList { } .toList() } + init { + require(allLists.isNotEmpty()) + } } } -- cgit