mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 14:08:05 +02:00
Use .get( instead of index to keep to code base coding style
This commit is contained in:
@@ -67,7 +67,7 @@ class LargeCache<K, V> : CacheOperations<K, V> {
|
||||
key: K,
|
||||
builder: (key: K) -> V,
|
||||
): Boolean {
|
||||
val value = cache[key]
|
||||
val value = cache.get(key)
|
||||
return if (value != null) {
|
||||
false
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user