Commit fceaa63a authored by Leonardo Aramaki's avatar Leonardo Aramaki

Remove useless commitTransaction

parent 7258f1e2
......@@ -162,7 +162,6 @@ public class RealmRoomRepository extends RealmRepository implements RoomReposito
})
.filter(realmObject -> realmObject.isLoaded() && realmObject.isValid())
.firstElement()
.doOnSuccess(it -> realm.commitTransaction())
.doOnError(throwable -> realm.cancelTransaction())
.doOnEvent((realmObject, throwable) -> close(realm, looper))
.toSingle()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment