Skip to content

Commit 50d7cb6

Browse files
committed
Definitely not null for update builder
1 parent 67d5f0f commit 50d7cb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/org/mybatis/dynamic/sql/util/kotlin/KotlinUpdateBuilder.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ class KotlinUpdateBuilder(private val dsl: UpdateDSL<UpdateModel>) :
5050
set(column).equalToStringConstant(constant)
5151
}
5252

53-
infix fun equalTo(value: T): Unit = equalTo { value }
53+
infix fun equalTo(value: T & Any): Unit = equalTo { value }
5454

55-
infix fun equalTo(value: () -> T): Unit =
55+
infix fun equalTo(value: () -> T & Any): Unit =
5656
applyToDsl {
5757
set(column).equalTo(value)
5858
}

0 commit comments

Comments
 (0)