Inspection/Intention replace size check with 'isNotEmpty' and 'isEmpty' #KT-13937 Fixed

This commit is contained in:
shiraji
2016-10-01 17:34:35 +09:00
committed by Mikhail Glukhikh
parent 5fa561eb70
commit 32b7b5a092
64 changed files with 699 additions and 0 deletions
@@ -0,0 +1,11 @@
// WITH_RUNTIME
// IS_APPLICABLE: false
class List {
val size = 0
}
fun foo() {
val list = List()
list.size<caret> > 0
}