Skip to content

Commit 26e546b

Browse files
committed
Code smell cleanup
1 parent 0533909 commit 26e546b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ abstract class KotlinBaseBuilder<D : AbstractWhereSupport<*>> {
157157
* val rows = countFrom(foo) { allRows() }
158158
*/
159159
@SuppressWarnings("EmptyFunctionBlock")
160-
fun allRows() {}
160+
fun allRows() {
161+
// intentionally empty - this function exists for code beautification and clarity only
162+
}
161163

162164
private fun applyToWhere(block: AbstractWhereDSL<*>.() -> Unit) {
163165
getDsl().where().apply(block)

0 commit comments

Comments
 (0)