ktlint...
This commit is contained in:
parent
01a4905dc8
commit
11fb2bcdfa
|
@ -19,7 +19,7 @@ package org.matrix.android.sdk.internal.database
|
||||||
import io.realm.Realm
|
import io.realm.Realm
|
||||||
import java.io.Closeable
|
import java.io.Closeable
|
||||||
|
|
||||||
internal class RealmInstanceWrapper (private val realm: Realm, private val closeRealmOnClose: Boolean) : Closeable {
|
internal class RealmInstanceWrapper(private val realm: Realm, private val closeRealmOnClose: Boolean) : Closeable {
|
||||||
|
|
||||||
override fun close() {
|
override fun close() {
|
||||||
if (closeRealmOnClose) {
|
if (closeRealmOnClose) {
|
||||||
|
|
Loading…
Reference in New Issue