Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6080449

Browse files
committed
Polishing
1 parent 06563d8 commit 6080449

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/docs/asciidoc/languages/kotlin.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ For kotlin versions 1.1+, the default behavior is the same as `-Xjsr305=warn`.
103103
The `strict` value is required to have Spring Framework API null-safety taken into account
104104
in Kotlin types inferred from Spring API but should be used with the knowledge that Spring
105105
API nullability declaration could evolve even between minor releases and that more checks may
106-
be added in the future).
106+
be added in the future.
107107

108108
NOTE: Generic type arguments, varargs, and array elements nullability are not supported yet,
109109
but should be in an upcoming release. See https://github.com/Kotlin/KEEP/issues/79[this discussion]
@@ -392,7 +392,7 @@ project for more details.
392392
Kotlin https://kotlinlang.org/docs/reference/coroutines-overview.html[Coroutines] are Kotlin
393393
lightweight threads allowing to write non-blocking code in an imperative way. On language side,
394394
suspending functions provides an abstraction for asynchronous operations while on library side
395-
https://github.com/Kotlin/kotlinx.coroutines[kotlinx.coroutines] provides functions likes
395+
https://github.com/Kotlin/kotlinx.coroutines[kotlinx.coroutines] provides functions like
396396
https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/async.html[`async { }`]
397397
and types like https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html[`Flow`].
398398

@@ -427,7 +427,7 @@ Version `1.3.0` and above are supported.
427427
For return values, the translation from Reactive to Coroutines APIs is the following:
428428

429429
* `fun handler(): Mono<Void>` becomes `suspend fun handler()`
430-
* `fun handler(): Mono<T>` becomes `suspend fun handler(): T` or `suspend fun handler(): T?` depending on if the `Mono` can be empty or not (with the advantage of beeing more statically typed)
430+
* `fun handler(): Mono<T>` becomes `suspend fun handler(): T` or `suspend fun handler(): T?` depending on if the `Mono` can be empty or not (with the advantage of being more statically typed)
431431
* `fun handler(): Flux<T>` becomes `fun handler(): Flow<T>`
432432

433433
For input parameters:

0 commit comments

Comments
 (0)