Skip to content

Commit 12d0c58

Browse files
committed
cleanup update
1 parent 6762569 commit 12d0c58

File tree

1 file changed

+0
-6
lines changed
  • frameworks/Kotlin/ktor/ktor-r2dbc/src/main/kotlin/org/jetbrains/ktor/benchmarks

1 file changed

+0
-6
lines changed

frameworks/Kotlin/ktor/ktor-r2dbc/src/main/kotlin/org/jetbrains/ktor/benchmarks/Hello.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,6 @@ fun Application.main() {
127127
val random = Random.Default
128128

129129
val worlds = selectWorlds(queries, random)
130-
val worldsUpdated = ArrayList<World>(queries)
131-
132-
worlds.collect { world ->
133-
world.randomNumber = random.nextInt(DB_ROWS) + 1
134-
worldsUpdated.add(world)
135-
}
136130

137131
val worldsUpdated = buildList {
138132
worlds.collect { world ->

0 commit comments

Comments
 (0)