Skip to content

Commit

Permalink
Update java-interop.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo240 committed Nov 30, 2017
1 parent 238c18a commit c7636ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java-interop.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ fun calendarDemo() {
## Методы возвращающие void

Если метод Java возвращает void, он вернет `Unit` при вызове из Kotlin.
If, by any chance, someone uses that return value, it will be assigned at the call site by the Kotlin compiler,
since the value itself is known in advance (being `Unit`).
Если по какой-либо причине кто-либо использует данный тип в своих целях, it will be assigned at the call site
by the Kotlin compiler, так как значение само по себе известно заранее (являясь `Unit`).

## Escaping for Java identifiers that are keywords in Kotlin

Expand Down

0 comments on commit c7636ee

Please sign in to comment.