Change description of boolean argument/augmented assignment inspections

This commit is contained in:
Mikhail Glukhikh
2018-12-05 09:56:42 +03:00
parent 13b09f532c
commit b17ee60c6f
2 changed files with 3 additions and 3 deletions
@@ -1,5 +1,5 @@
<html>
<body>
This inspection reports boolean literal arguments should be named.
This inspection reports boolean literal arguments that could be named to remove ambiguity.
</body>
</html>
@@ -1,12 +1,12 @@
<html>
<body>
This inspection reports non-mutable <b>Collection</b> augmented assignment creates a new <b>Collection</b> under the hood.
This inspection reports augmented assignment on read-only <b>Collection</b> that creates a new <b>Collection</b> under the hood.
Example:
<br /><br />
<pre>
<b>var</b> list = listOf(1, 2, 3)
list <b>+=</b> 4 // A new list is created
list <b>+=</b> 4 // A new list is created, better use mutableListOf instead
</pre>
</body>