[jps] KT-55309 Inline storage initialization
This commit is contained in:
committed by
Space Team
parent
dfead910b9
commit
dbddbab73c
@@ -28,11 +28,7 @@ abstract class BasicMap<K : Comparable<K>, V>(
|
||||
keyDescriptor: KeyDescriptor<K>,
|
||||
valueExternalizer: DataExternalizer<V>
|
||||
) {
|
||||
protected val storage: LazyStorage<K, V>
|
||||
|
||||
init {
|
||||
storage = CachingLazyStorage(storageFile, keyDescriptor, valueExternalizer)
|
||||
}
|
||||
protected val storage: LazyStorage<K, V> = CachingLazyStorage(storageFile, keyDescriptor, valueExternalizer)
|
||||
|
||||
fun clean() {
|
||||
storage.clean()
|
||||
|
||||
Reference in New Issue
Block a user