Skip to content

Commit 663b8af

Browse files
committed
Remove useless column bounds
1 parent 64b38dc commit 663b8af

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class KotlinBatchInsertBuilder<T> (private val rows: Collection<T>): Buildable<B
3333
this.table = table
3434
}
3535

36-
fun <C : Any> map(column: SqlColumn<C>) = MultiRowInsertColumnMapCompleter(column) {
36+
fun <C> map(column: SqlColumn<C>) = MultiRowInsertColumnMapCompleter(column) {
3737
columnMappings.add(it)
3838
}
3939

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class KotlinGeneralInsertBuilder(private val table: SqlTable) : Buildable<Genera
2929

3030
private val columnMappings = mutableListOf<AbstractColumnMapping>()
3131

32-
fun <T : Any> set(column: SqlColumn<T>) = GeneralInsertColumnSetCompleter(column) {
32+
fun <T> set(column: SqlColumn<T>) = GeneralInsertColumnSetCompleter(column) {
3333
columnMappings.add(it)
3434
}
3535

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class KotlinInsertBuilder<T> (private val row: T): Buildable<InsertModel<T>> {
3333
this.table = table
3434
}
3535

36-
fun <C : Any> map(column: SqlColumn<C>) = SingleRowInsertColumnMapCompleter(column) {
36+
fun <C> map(column: SqlColumn<C>) = SingleRowInsertColumnMapCompleter(column) {
3737
columnMappings.add(it)
3838
}
3939

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class KotlinMultiRowInsertBuilder<T> (private val rows: Collection<T>): Buildabl
3333
this.table = table
3434
}
3535

36-
fun <C : Any> map(column: SqlColumn<C>) = MultiRowInsertColumnMapCompleter(column) {
36+
fun <C> map(column: SqlColumn<C>) = MultiRowInsertColumnMapCompleter(column) {
3737
columnMappings.add(it)
3838
}
3939

0 commit comments

Comments
 (0)