from-java-to-kotlin icon indicating copy to clipboard operation
from-java-to-kotlin copied to clipboard

Update null-ii.java to be consistent with kotlin

Open stevenwaterman opened this issue 7 years ago • 0 comments

The kotlin code assigns null to length if text is null. The old java code declared length in a different scope and never declared length when text was null.

stevenwaterman avatar Oct 21 '18 00:10 stevenwaterman