Skip to content

Commit 032f2df

Browse files
committed
nit
1 parent 8a42f18 commit 032f2df

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

kyuubi-common/src/test/scala/org/apache/kyuubi/util/JdbcUtilsSuite.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ class JdbcUtilsSuite extends KyuubiFunSuite {
5656
}
5757
assert(affected == 2)
5858

59-
val persons = JdbcUtils.executeQueryWithRowMapper(
60-
"SELECT * FROM person WHERE id=?") { stmt =>
59+
val persons = JdbcUtils.executeQueryWithRowMapper {
60+
"SELECT * FROM person WHERE id=?"
61+
} { stmt =>
6162
stmt.setInt(1, 9)
6263
} { rs =>
6364
Person(rs.getInt(1), rs.getString(2))

0 commit comments

Comments
 (0)