Skip to content

Commit 6dea986

Browse files
committed
chore: fix String array mapped type
1 parent 3920fa1 commit 6dea986

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/topics/jvm/java-interop.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -552,10 +552,10 @@ Collection types may be read-only or mutable in Kotlin, so Java's collections ar
552552

553553
Java's arrays are mapped as mentioned [below](java-interop.md#java-arrays):
554554

555-
| **Java type** | **Kotlin type** |
556-
|---------------|------------------|
557-
| `int[]` | `kotlin.IntArray!` |
558-
| `String[]` | `kotlin.Array<(out) String>!` |
555+
| **Java type** | **Kotlin type** |
556+
|---------------|--------------------------------|
557+
| `int[]` | `kotlin.IntArray!` |
558+
| `String[]` | `kotlin.Array<(out) String!>!` |
559559

560560
>The static members of these Java types are not directly accessible on the [companion objects](object-declarations.md#companion-objects)
561561
>of the Kotlin types. To call them, use the full qualified names of the Java types, e.g. `java.lang.Integer.toHexString(foo)`.

0 commit comments

Comments
 (0)