Skip to content

Commit

Permalink
Gix some EntitySupplyStrategy toStrings being incorrect (#811)
Browse files Browse the repository at this point in the history
  • Loading branch information
GreemDev authored Apr 13, 2023
1 parent c466993 commit 17e0aac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/commonMain/kotlin/supplier/EntitySupplyStrategy.kt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public interface EntitySupplyStrategy<T : EntitySupplier> {
return StoreEntitySupplier(rest.supply(kord), kord.cache)
}

override fun toString(): String = "EntitySupplyStrategy.cacheAwareRest"
override fun toString(): String = "EntitySupplyStrategy.cachingRest"

}

Expand Down Expand Up @@ -78,7 +78,7 @@ public interface EntitySupplyStrategy<T : EntitySupplier> {
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"
}

/**
Expand Down

0 comments on commit 17e0aac

Please sign in to comment.