Files
kotlin-fork/idea/resources/inspectionDescriptions/UselessCallOnNotNull.html
T
Mikhail Glukhikh 0f4ae3b727 Introduce "Useless call on not-null type" inspection #KT-18386 Fixed
Supported functions: orEmpty(), isNullOrEmpty(), isNullOrBlank()
2017-06-29 16:25:45 +03:00

9 lines
176 B
HTML

<html>
<body>
This inspection reports calls on not-null receiver that make sense only for nullable receiver, e.g.
<pre><code>
listOf(1).orEmpty()
</code></pre>
</body>
</html>