diff --git a/build.gradle b/build.gradle index 3db3f0c..bfe8ebd 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ group 'kweb' -version '0.4.0' +version '0.4.1' buildscript { ext.kotlin_version = '1.4.0' diff --git a/src/main/kotlin/kweb/shoebox/stores/MapDBStore.kt b/src/main/kotlin/kweb/shoebox/stores/MapDBStore.kt index f9365cf..e18983d 100644 --- a/src/main/kotlin/kweb/shoebox/stores/MapDBStore.kt +++ b/src/main/kotlin/kweb/shoebox/stores/MapDBStore.kt @@ -13,7 +13,7 @@ import org.mapdb.Serializer * Created by ian on 3/22/17. */ @ExperimentalSerializationApi -class MapDBStore(val db: DB, val name: String, val serializer: KSerializer) : Store { +class MapDBStore(private val db: DB, private val name: String, private val serializer: KSerializer) : Store { private val map: HTreeMap = db .hashMap(name, Serializer.STRING, Serializer.BYTE_ARRAY) .createOrOpen()