Skip to content

Commit

Permalink
Merge pull request #467 from kennethshackleton/kotlin-1.9.0
Browse files Browse the repository at this point in the history
Kotlin 1.9.0.
  • Loading branch information
kennethshackleton authored Jul 16, 2023
2 parents d163af9 + 650843c commit 4a5d5e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

// TODO Move me.
val kotlinVersion = "1.8.22"
val kotlinVersion = "1.9.0"

plugins {
`kotlin-dsl`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,9 @@ private class SupportSQLiteDatabase constructor(
override fun inTransaction() = database.isTransactionOpenedByCurrentThread

override val isDatabaseIntegrityOk: Boolean
get() {
attachedDbs.forEach {
if (!database.integrityCheck(it.first)) {
return false
}
get() = !attachedDbs.any {
!database.integrityCheck(it.first)
}
return true
}

override val isDbLockedByCurrentThread: Boolean
get() = database.isConnectionHeldByCurrentThread
Expand Down

0 comments on commit 4a5d5e1

Please sign in to comment.