Use .get( instead of index to keep to code base coding style

This commit is contained in:
David Kaspar
2025-08-16 18:56:48 +01:00
parent a72fff5f8f
commit c1004dc643

View File

@@ -67,7 +67,7 @@ class LargeCache<K, V> : CacheOperations<K, V> {
key: K, key: K,
builder: (key: K) -> V, builder: (key: K) -> V,
): Boolean { ): Boolean {
val value = cache[key] val value = cache.get(key)
return if (value != null) { return if (value != null) {
false false
} else { } else {