diff --git a/java/java-impl/src/com/intellij/codeInspection/sameParameterValue/SameParameterValueInspection.java b/java/java-impl/src/com/intellij/codeInspection/sameParameterValue/SameParameterValueInspection.java index 9b30d4c17bd5..641ba29f4a96 100644 --- a/java/java-impl/src/com/intellij/codeInspection/sameParameterValue/SameParameterValueInspection.java +++ b/java/java-impl/src/com/intellij/codeInspection/sameParameterValue/SameParameterValueInspection.java @@ -223,7 +223,6 @@ public class SameParameterValueInspection extends GlobalJavaBatchInspectionTool if (!anchor.isPhysical()) return null; return manager.createProblemDescriptor(anchor, JavaBundle.message("inspection.same.parameter.problem.descriptor", - name, StringUtil.unquoteString(shortName)), suggestFix ? createFix(name, stringPresentation.startsWith("\"\"") ? stringPresentation diff --git a/java/openapi/resources/messages/JavaBundle.properties b/java/openapi/resources/messages/JavaBundle.properties index 6b4c44fe6b8c..77e0fc579329 100644 --- a/java/openapi/resources/messages/JavaBundle.properties +++ b/java/openapi/resources/messages/JavaBundle.properties @@ -675,10 +675,10 @@ inspection.return.separated.from.computation.descriptor=Return separated from co inspection.return.separated.from.computation.family.quickfix=Move 'return' closer to computation of the result inspection.return.separated.from.computation.name='return' separated from the result computation inspection.return.separated.from.computation.quickfix=Move ''return'' closer to computation of the value of ''{0}'' -inspection.same.parameter.display.name=Method parameter value is always the same constant +inspection.same.parameter.display.name=Method parameter is always the same value inspection.same.parameter.fix.family.name=Inline parameter as constant value inspection.same.parameter.fix.name=Inline value ''{1}'' for parameter ''{0}'' -inspection.same.parameter.problem.descriptor=Actual value of parameter ''{0}'' is always ''{1}'' +inspection.same.parameter.problem.descriptor=Actual value of parameter #ref is always ''{0}'' inspection.scope.for.title=Scope inspection.simplifiable.comparator.comparing.message=Unnecessary ''{0}()'' call inspection.simplifiable.comparator.display.name=Comparator method can be simplified