Skip to content

Commit 6ccb9b8

Browse files
committed
chore: use import for ContextValue instead of fq-name in PrefetchCache
1 parent e8ad2b2 commit 6ccb9b8

File tree

1 file changed

+2
-1
lines changed
  • model-datastructure/src/commonMain/kotlin/org/modelix/model/lazy

1 file changed

+2
-1
lines changed

model-datastructure/src/commonMain/kotlin/org/modelix/model/lazy/PrefetchCache.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
*/
1414
package org.modelix.model.lazy
1515

16+
import org.modelix.kotlin.utils.ContextValue
1617
import org.modelix.model.IKeyValueStore
1718
import org.modelix.model.api.ITree
1819

@@ -58,7 +59,7 @@ class PrefetchCache(private val store: IDeserializingKeyValueStore) : IDeseriali
5859
}
5960

6061
companion object {
61-
private val contextValue: org.modelix.kotlin.utils.ContextValue<PrefetchCache> = org.modelix.kotlin.utils.ContextValue()
62+
private val contextValue: ContextValue<PrefetchCache> = ContextValue()
6263

6364
fun <T> with(store_: IDeserializingKeyValueStore, f: () -> T): T {
6465
val store = if (store_ is ContextIndirectCache) store_.directStore else store_

0 commit comments

Comments
 (0)