Add "Replace with 'equals(..., ignoreCase = true)'" inspection
#KT-40016 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
a5bfa3ae63
commit
d2deff4864
@@ -0,0 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
fun test(a: String, b: String?): Boolean {
|
||||
return <caret>a.toLowerCase() == b?.toLowerCase()
|
||||
}
|
||||
Reference in New Issue
Block a user