IDEA-163810 Please make shorter "Anonymous type can be replaced with lambda using factory method.." inspection name

This commit is contained in:
Tagir Valeev
2016-11-11 17:40:29 +07:00
parent f9e45bd128
commit b63b631e60
2 changed files with 2 additions and 2 deletions
@@ -107,7 +107,7 @@ public class AnonymousHasLambdaAlternativeInspection extends BaseJavaBatchLocalI
@NotNull
@Override
public String getName() {
return "Replace anonymous class with "+myAlternative.myReplacementMessage;
return "Replace with "+myAlternative.myReplacementMessage;
}
@Nls
+1 -1
View File
@@ -819,7 +819,7 @@
groupKey="group.names.performance.issues" enabledByDefault="false" level="WARNING"
implementationClass="com.intellij.codeInspection.CollectionAddAllCanBeReplacedWithConstructorInspection"
displayName="Collection.addAll() can be replaced with parametrized constructor"/>
<localInspection groupPath="Java" language="JAVA" shortName="AnonymousHasLambdaAlternative" displayName="Anonymous type can be replaced with lambda using factory method or special constructor"
<localInspection groupPath="Java" language="JAVA" shortName="AnonymousHasLambdaAlternative" displayName="Anonymous type has shorter lambda alternative"
groupKey="group.names.language.level.specific.issues.and.migration.aids" groupBundle="messages.InspectionsBundle" enabledByDefault="true" level="WARNING"
implementationClass="com.intellij.codeInspection.AnonymousHasLambdaAlternativeInspection" />
<localInspection groupPath="Java" language="JAVA" shortName="Java8CollectionsApi"