Introduce "Useless call on not-null type" inspection #KT-18386 Fixed

Supported functions: orEmpty(), isNullOrEmpty(), isNullOrBlank()
This commit is contained in:
Mikhail Glukhikh
2017-06-16 17:14:59 +03:00
parent 8c21ff66a4
commit 0f4ae3b727
21 changed files with 322 additions and 0 deletions
@@ -0,0 +1,4 @@
// WITH_RUNTIME
val s = ""
val s1 = s<caret>.orEmpty()