File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
frameworks/Kotlin/ktor/ktor
src/main/kotlin/org/jetbrains/ktor/benchmarks Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1313
1414 <properties >
1515 <kotlin .version>2.0.21</kotlin .version>
16- <ktor .version>3.0.1 </ktor .version>
16+ <ktor .version>3.0.2 </ktor .version>
1717 <serialization .version>1.7.3</serialization .version>
1818 <kotlinx .html.version>0.11.0</kotlinx .html.version>
1919 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
Original file line number Diff line number Diff line change @@ -140,8 +140,7 @@ fun Application.main() {
140140
141141 result.forEach { it.randomNumber = random.nextInt(dbRows) + 1 }
142142
143- connection.prepareStatement(UPDATE_QUERY )
144- .use { updateStatement ->
143+ connection.prepareStatement(UPDATE_QUERY ).use { updateStatement ->
145144 for ((id, randomNumber) in result) {
146145 updateStatement.setInt(1 , randomNumber)
147146 updateStatement.setInt(2 , id)
You can’t perform that action at this time.
0 commit comments