Fix inspection message
This commit is contained in:
committed by
Mikhail Glukhikh
parent
920c200693
commit
3c75dd7b5a
@@ -2987,7 +2987,7 @@ The Kotlin plugin provides language support in IntelliJ IDEA and Android Studio.
|
||||
/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.collections.ConvertCallChainIntoSequenceInspection"
|
||||
displayName="Call chain on collection could be converted into 'Sequence' to increase performance"
|
||||
displayName="Call chain on collection could be converted into 'Sequence' to improve performance"
|
||||
groupPath="Kotlin"
|
||||
groupName="Style issues"
|
||||
enabledByDefault="true"
|
||||
|
||||
@@ -2985,7 +2985,7 @@ The Kotlin plugin provides language support in IntelliJ IDEA and Android Studio.
|
||||
/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.collections.ConvertCallChainIntoSequenceInspection"
|
||||
displayName="Call chain on collection could be converted into 'Sequence' to increase performance"
|
||||
displayName="Call chain on collection could be converted into 'Sequence' to improve performance"
|
||||
groupPath="Kotlin"
|
||||
groupName="Style issues"
|
||||
enabledByDefault="true"
|
||||
|
||||
@@ -2986,7 +2986,7 @@ The Kotlin plugin provides language support in IntelliJ IDEA and Android Studio.
|
||||
/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.collections.ConvertCallChainIntoSequenceInspection"
|
||||
displayName="Call chain on collection could be converted into 'Sequence' to increase performance"
|
||||
displayName="Call chain on collection could be converted into 'Sequence' to improve performance"
|
||||
groupPath="Kotlin"
|
||||
groupName="Style issues"
|
||||
enabledByDefault="true"
|
||||
|
||||
@@ -2987,7 +2987,7 @@ The Kotlin plugin provides language support in IntelliJ IDEA and Android Studio.
|
||||
/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.collections.ConvertCallChainIntoSequenceInspection"
|
||||
displayName="Call chain on collection could be converted into 'Sequence' to increase performance"
|
||||
displayName="Call chain on collection could be converted into 'Sequence' to improve performance"
|
||||
groupPath="Kotlin"
|
||||
groupName="Style issues"
|
||||
enabledByDefault="true"
|
||||
|
||||
@@ -2985,7 +2985,7 @@ The Kotlin plugin provides language support in IntelliJ IDEA and Android Studio.
|
||||
/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.collections.ConvertCallChainIntoSequenceInspection"
|
||||
displayName="Call chain on collection could be converted into 'Sequence' to increase performance"
|
||||
displayName="Call chain on collection could be converted into 'Sequence' to improve performance"
|
||||
groupPath="Kotlin"
|
||||
groupName="Style issues"
|
||||
enabledByDefault="true"
|
||||
|
||||
@@ -2985,7 +2985,7 @@ The Kotlin plugin provides language support in IntelliJ IDEA and Android Studio.
|
||||
/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.collections.ConvertCallChainIntoSequenceInspection"
|
||||
displayName="Call chain on collection could be converted into 'Sequence' to increase performance"
|
||||
displayName="Call chain on collection could be converted into 'Sequence' to improve performance"
|
||||
groupPath="Kotlin"
|
||||
groupName="Style issues"
|
||||
enabledByDefault="true"
|
||||
|
||||
@@ -2987,7 +2987,7 @@ The Kotlin plugin provides language support in IntelliJ IDEA and Android Studio.
|
||||
/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.collections.ConvertCallChainIntoSequenceInspection"
|
||||
displayName="Call chain on collection could be converted into 'Sequence' to increase performance"
|
||||
displayName="Call chain on collection could be converted into 'Sequence' to improve performance"
|
||||
groupPath="Kotlin"
|
||||
groupName="Style issues"
|
||||
enabledByDefault="true"
|
||||
|
||||
+1
-1
@@ -61,7 +61,7 @@ class ConvertCallChainIntoSequenceInspection : AbstractKotlinInspection() {
|
||||
holder.manager.createProblemDescriptor(
|
||||
qualified,
|
||||
rangeInElement,
|
||||
"Call chain on collection could be converted into 'Sequence' to increase performance",
|
||||
"Call chain on collection could be converted into 'Sequence' to improve performance",
|
||||
highlightType,
|
||||
isOnTheFly,
|
||||
ConvertCallChainIntoSequenceFix()
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// PROBLEM: Call chain on collection could be converted into 'Sequence' to increase performance
|
||||
// PROBLEM: Call chain on collection could be converted into 'Sequence' to improve performance
|
||||
// HIGHLIGHT: GENERIC_ERROR_OR_WARNING
|
||||
// WITH_RUNTIME
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// PROBLEM: Call chain on collection could be converted into 'Sequence' to increase performance
|
||||
// PROBLEM: Call chain on collection could be converted into 'Sequence' to improve performance
|
||||
// HIGHLIGHT: GENERIC_ERROR_OR_WARNING
|
||||
// WITH_RUNTIME
|
||||
|
||||
|
||||
Reference in New Issue
Block a user