Inspection/Intention replace size check with 'isNotEmpty' and 'isEmpty' #KT-13937 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
5fa561eb70
commit
32b7b5a092
+1
@@ -0,0 +1 @@
|
||||
<spot>list.isNotEmpty()</spot>
|
||||
+1
@@ -0,0 +1 @@
|
||||
<spot>list.size > 0</spot>
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention replaces size check with 'isNotEmpty()'
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user