From f8006b7b49d92a3930c381a6875ffe084af4f15b Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sat, 7 Sep 2024 09:39:12 +0700 Subject: [PATCH] Declare as concrete types --- .../dbotthepony/mc/otm/container/CombinedContainer.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/container/CombinedContainer.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/container/CombinedContainer.kt index 992139a7a..a7094db4a 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/container/CombinedContainer.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/container/CombinedContainer.kt @@ -43,11 +43,11 @@ class CombinedContainer(containers: Stream>>) : IM } } - private val slots: List - private val slotsMap: Map> - private val containers: Set - private val fullCoverage: List - private val notFullCoverage: Map> + private val slots: ImmutableList + private val slotsMap: ImmutableMap> + private val containers: ImmutableSet + private val fullCoverage: ImmutableList + private val notFullCoverage: ImmutableMap> init { val list = ImmutableList.Builder()