From edb5e73d48a4f8bce8b675b9c94fd73f8cadae2c Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 18 Mar 2020 15:34:27 +0100 Subject: [PATCH] Update Kotlin example based on feedback from @lnhrdt See gh-24398 --- src/docs/asciidoc/data-access.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/asciidoc/data-access.adoc b/src/docs/asciidoc/data-access.adoc index 69fbe9b3b1..2e96c9e120 100644 --- a/src/docs/asciidoc/data-access.adoc +++ b/src/docs/asciidoc/data-access.adoc @@ -2794,7 +2794,7 @@ For example, it may be better to write the preceding code snippet as follows: .Kotlin ---- val actorMapper = RowMapper { 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 {