Skip to content

Commit

Permalink
style: use named parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
shouwn committed Sep 3, 2024
1 parent 5771db8 commit e65f28c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ open class KotlinJdslJpqlExecutorImpl(
limit: Int?,
init: Jpql.() -> JpqlQueryable<SelectQuery<T>>,
): List<T?> {
return findAll(Jpql, offset, limit, init)
return findAll(Jpql, offset = offset, limit = limit, init)
}

override fun <T : Any, DSL : JpqlDsl> findAll(
Expand All @@ -50,7 +50,7 @@ open class KotlinJdslJpqlExecutorImpl(
limit: Int?,
init: DSL.() -> JpqlQueryable<SelectQuery<T>>,
): List<T?> {
return findAll(dsl.newInstance(), offset, limit, init)
return findAll(dsl.newInstance(), offset = offset, limit = limit, init)
}

override fun <T : Any, DSL : JpqlDsl> findAll(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ open class KotlinJdslJpqlExecutorImpl(
limit: Int?,
init: Jpql.() -> JpqlQueryable<SelectQuery<T>>,
): List<T?> {
return findAll(Jpql, offset, limit, init)
return findAll(Jpql, offset = offset, limit = limit, init)
}

override fun <T : Any, DSL : JpqlDsl> findAll(
Expand All @@ -52,7 +52,7 @@ open class KotlinJdslJpqlExecutorImpl(
limit: Int?,
init: DSL.() -> JpqlQueryable<SelectQuery<T>>,
): List<T?> {
return findAll(dsl.newInstance(), offset, limit, init)
return findAll(dsl.newInstance(), offset = offset, limit = limit, init)
}

override fun <T : Any, DSL : JpqlDsl> findAll(
Expand Down

0 comments on commit e65f28c

Please sign in to comment.