File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
dbflow-kotlinextensions/src/main/java/com/raizlabs/android/dbflow/kotlinextensions Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class OneToMany<T : Any>(private val query: () -> ModelQueriable<T>) : ReadWrite
15
15
private var list: List <T >? = null
16
16
17
17
override fun getValue (thisRef : Any , property : KProperty <* >): List <T >? {
18
- if (list?.isEmpty() ? : true ) {
18
+ if (list?.isEmpty() != false ) {
19
19
list = query().list
20
20
}
21
21
return list
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ targetCompatibility = JavaVersion.VERSION_1_8
7
7
sourceCompatibility = JavaVersion . VERSION_1_8
8
8
9
9
dependencies {
10
- api project(" ${ dbflow_project_prefix} dbflow-core" )
11
- api ' com.squareup:javapoet:1.9.0'
12
- api ' com.github.agrosner:KPoet:1.0.0'
13
- api " org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version "
10
+ compile project(" ${ dbflow_project_prefix} dbflow-core" )
11
+ compile ' com.squareup:javapoet:1.9.0'
12
+ compile ' com.github.agrosner:KPoet:1.0.0'
13
+ compile " org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version "
14
14
15
15
compileOnly ' org.glassfish:javax.annotation:10.0-b28'
16
16
You can’t perform that action at this time.
0 commit comments