From 2ff84a14fcc3785d6124731b635e3acd0ec61ac5 Mon Sep 17 00:00:00 2001 From: Evan Husted Date: Thu, 13 Apr 2023 05:30:10 +0000 Subject: [PATCH] fix some `EntitySupplyStrategy` toStrings being incorrect --- core/src/commonMain/kotlin/supplier/EntitySupplyStrategy.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/commonMain/kotlin/supplier/EntitySupplyStrategy.kt b/core/src/commonMain/kotlin/supplier/EntitySupplyStrategy.kt index 64c0c9e92838..f7f6b6313db8 100644 --- a/core/src/commonMain/kotlin/supplier/EntitySupplyStrategy.kt +++ b/core/src/commonMain/kotlin/supplier/EntitySupplyStrategy.kt @@ -49,7 +49,7 @@ public interface EntitySupplyStrategy { return StoreEntitySupplier(rest.supply(kord), kord.cache) } - override fun toString(): String = "EntitySupplyStrategy.cacheAwareRest" + override fun toString(): String = "EntitySupplyStrategy.cachingRest" } @@ -78,7 +78,7 @@ public interface EntitySupplyStrategy { override fun supply(kord: Kord): EntitySupplier = cache.supply(kord).withFallback(cachingRest.supply(kord)) - override fun toString(): String = "EntitySupplyStrategy.cacheWithCacheAwareRestFallback" + override fun toString(): String = "EntitySupplyStrategy.cacheWithCachingRestFallback" } /**