Skip to content

Commit 89d019f

Browse files
upgrade version
1 parent b6dd9c3 commit 89d019f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
buildscript {
33
ext {
4-
kotlinVersion = "1.4.10"
4+
kotlinVersion = "1.4.21"
55
detektVersion = "1.12.0-RC1"
66
}
77
repositories {
@@ -17,7 +17,7 @@ buildscript {
1717

1818
allprojects {
1919
group = "org.ktorm"
20-
version = "3.2.0"
20+
version = "3.3.0"
2121
}
2222

2323
subprojects { project ->

ktorm-global/src/main/kotlin/org/ktorm/global/Global.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ import kotlin.contracts.InvocationKind
3333
import kotlin.contracts.contract
3434

3535
@PublishedApi
36-
internal val lastConnected = AtomicReference<Database>()
36+
internal val lastConnected: AtomicReference<Database> = AtomicReference()
3737

3838
@PublishedApi
39-
internal val threadLocal = ThreadLocal<Database>()
39+
internal val threadLocal: ThreadLocal<Database> = ThreadLocal()
4040

4141
/**
4242
* The global database instance, Ktorm uses this property to obtain a database when any SQL is executed.

0 commit comments

Comments
 (0)