From bca4208e477f16e2b453d08f64f255a99b10fb72 Mon Sep 17 00:00:00 2001 From: "Anna.Kozlova" Date: Tue, 17 Oct 2017 19:50:39 +0200 Subject: [PATCH] EA-109548 - assert: DefaultInspectionToolPresentation.extractActiveFixes --- .../miscGenerics/RedundantTypeArgsInspection.java | 2 +- .../src/messages/InspectionsBundle.properties | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/java/java-analysis-impl/src/com/intellij/codeInspection/miscGenerics/RedundantTypeArgsInspection.java b/java/java-analysis-impl/src/com/intellij/codeInspection/miscGenerics/RedundantTypeArgsInspection.java index bc844de008ef..f15f69e8b915 100644 --- a/java/java-analysis-impl/src/com/intellij/codeInspection/miscGenerics/RedundantTypeArgsInspection.java +++ b/java/java-analysis-impl/src/com/intellij/codeInspection/miscGenerics/RedundantTypeArgsInspection.java @@ -184,7 +184,7 @@ public class RedundantTypeArgsInspection extends GenericsInspectionToolBase { @Override @NotNull public String getFamilyName() { - return InspectionsBundle.message("inspection.redundant.type.remove.quickfix"); + return InspectionsBundle.message("inspection.redundant.type.remove.methodref.quickfix"); } @Override diff --git a/platform/platform-resources-en/src/messages/InspectionsBundle.properties b/platform/platform-resources-en/src/messages/InspectionsBundle.properties index c6a1efe3f3b8..5f0758b5431e 100644 --- a/platform/platform-resources-en/src/messages/InspectionsBundle.properties +++ b/platform/platform-resources-en/src/messages/InspectionsBundle.properties @@ -212,6 +212,7 @@ inspection.unused.parameter.display.name=Unused method parameters inspection.unused.parameter.delete.quickfix=Delete unused parameter(s) inspection.redundant.type.display.name=Redundant type arguments inspection.redundant.type.remove.quickfix=Remove explicit type arguments +inspection.redundant.type.remove.methodref.quickfix=Remove explicit type arguments of method reference inspection.redundant.type.problem.descriptor=Explicit type arguments can be inferred inspection.redundant.array.creation.display.name=Redundant array creation