Update Kotlin example based on feedback from @lnhrdt
See gh-24398
This commit is contained in:
parent
d4b2860cc9
commit
edb5e73d48
|
@ -2794,7 +2794,7 @@ For example, it may be better to write the preceding code snippet as follows:
|
|||
.Kotlin
|
||||
----
|
||||
val actorMapper = RowMapper<Actor> { rs: ResultSet, rowNum: Int ->
|
||||
return Actor(rs.getString("first_name"), rs.getString("last_name"))
|
||||
Actor(rs.getString("first_name"), rs.getString("last_name"))
|
||||
}
|
||||
|
||||
fun findAllActors(): List<Actor> {
|
||||
|
|
Loading…
Reference in New Issue