Skip to content

Commit c62a156

Browse files
committed
Style
1 parent ca920a5 commit c62a156

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/kotlin/org/mybatis/dynamic/sql/util/kotlin/model/ModelBuilderFunctions.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,8 @@ fun deleteFrom(table: SqlTable, tableAlias: String, completer: DeleteCompleter):
6868
fun <T : Any> insert(row: T, completer: KotlinInsertCompleter<T>): InsertModel<T> =
6969
KotlinInsertBuilder(row).apply(completer).build()
7070

71-
fun <T : Any> insertBatch(rows: Collection<T>, completer: KotlinBatchInsertCompleter<T>): BatchInsertModel<T> {
72-
return KotlinBatchInsertBuilder(rows).apply(completer).build()
73-
}
71+
fun <T : Any> insertBatch(rows: Collection<T>, completer: KotlinBatchInsertCompleter<T>): BatchInsertModel<T> =
72+
KotlinBatchInsertBuilder(rows).apply(completer).build()
7473

7574
fun insertInto(table: SqlTable, completer: GeneralInsertCompleter): GeneralInsertModel =
7675
KotlinGeneralInsertBuilder(table).apply(completer).build()

0 commit comments

Comments
 (0)