diff --git a/idea/resources/inspectionDescriptions/BooleanLiteralArgument.html b/idea/resources/inspectionDescriptions/BooleanLiteralArgument.html index 67fe55548ce..86df6e91a13 100644 --- a/idea/resources/inspectionDescriptions/BooleanLiteralArgument.html +++ b/idea/resources/inspectionDescriptions/BooleanLiteralArgument.html @@ -1,5 +1,5 @@
-This inspection reports boolean literal arguments should be named. +This inspection reports boolean literal arguments that could be named to remove ambiguity. diff --git a/idea/resources/inspectionDescriptions/SuspiciousCollectionReassignment.html b/idea/resources/inspectionDescriptions/SuspiciousCollectionReassignment.html index 52fb972da5a..46550639f62 100644 --- a/idea/resources/inspectionDescriptions/SuspiciousCollectionReassignment.html +++ b/idea/resources/inspectionDescriptions/SuspiciousCollectionReassignment.html @@ -1,12 +1,12 @@ -This inspection reports non-mutable Collection augmented assignment creates a new Collection under the hood. +This inspection reports augmented assignment on read-only Collection that creates a new Collection under the hood. Example:var list = listOf(1, 2, 3) -list += 4 // A new list is created +list += 4 // A new list is created, better use mutableListOf instead