Inspection to replace !string.isBlank() with string.isNotBlank()

#KT-40769 Fixed
This commit is contained in:
Enterman
2020-08-07 15:51:14 +08:00
committed by Vladimir Dolzhenko
parent f9a2d01d57
commit d09b20f11d
19 changed files with 156 additions and 8 deletions
@@ -0,0 +1,6 @@
// PROBLEM: Replace negated 'isBlank' with 'isNotBlank'
// FIX: Replace negated 'isBlank' with 'isNotBlank'
// WITH_RUNTIME
fun test(s: String) {
val b = !s.isBlank<caret>()
}