Inspection to replace !string.isBlank() with string.isNotBlank()
#KT-40769 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
f9a2d01d57
commit
d09b20f11d
+6
@@ -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.isNotBlank()
|
||||
}
|
||||
Reference in New Issue
Block a user