Add "Redundant nullable return type" inspection
^KT-19321 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
d703284d01
commit
8420c0b7c7
@@ -2550,6 +2550,15 @@
|
||||
level="WEAK WARNING"
|
||||
language="kotlin"
|
||||
key="inspection.replace.with.ignore.case.equals.display.name" bundle="messages.KotlinBundle"/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.RedundantNullableReturnTypeInspection"
|
||||
groupPath="Kotlin"
|
||||
groupName="Redundant constructs"
|
||||
enabledByDefault="true"
|
||||
level="WARNING"
|
||||
language="kotlin"
|
||||
key="inspection.redundant.nullable.return.type.display.name" bundle="messages.KotlinBundle"/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.SimplifyNestedEachInScopeFunctionInspection"
|
||||
groupPath="Kotlin"
|
||||
groupName="Style issues"
|
||||
@@ -2557,6 +2566,7 @@
|
||||
level="WEAK WARNING"
|
||||
language="kotlin"
|
||||
key="inspection.simplifiable.scope.function.display.name" bundle="messages.KotlinBundle"/>
|
||||
|
||||
</extensions>
|
||||
|
||||
</idea-plugin>
|
||||
Reference in New Issue
Block a user