Join Slack
Powered by
<@U0B8MSP9B> Java to Kotlin convertor is not perfe...
# getting-started
o
orangy
12/05/2016, 11:27 PM
@Eugen Martynov
Java to Kotlin convertor is not perfect, its main function is to translate the boring syntax part.
Any
means “any non-null instance”, which is not the case in your sample. Either use
Any?
for nullable type, or just remove
<Any>
entirely and let compiler figure it out.
2
Views
Open in Slack
Previous
Next