Introduce "Redundant 'asSequence' call" inspections
#KT-35893 Fixed
This commit is contained in:
committed by
igoriakovlev
parent
e2c3455445
commit
afd544cbab
@@ -3324,6 +3324,14 @@
|
||||
language="kotlin"
|
||||
key="inspection.logger.initialized.with.foreign.class.display.name" bundle="messages.KotlinBundle"/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.collections.RedundantAsSequenceInspection"
|
||||
groupPath="Kotlin"
|
||||
groupName="Style issues"
|
||||
enabledByDefault="true"
|
||||
level="WEAK WARNING"
|
||||
language="kotlin"
|
||||
key="inspection.redundant.assequence.call" bundle="messages.KotlinBundle"/>
|
||||
|
||||
<projectService serviceImplementation="org.jetbrains.kotlin.idea.codeInsight.KotlinCodeInsightWorkspaceSettings"/>
|
||||
|
||||
<applicationService serviceImplementation="org.jetbrains.kotlin.idea.codeInsight.KotlinCodeInsightSettings"/>
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports redundant 'asSequence()' call that can never have a positive performance effect.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user