mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
better name for "Method parameter value is always the same constant" inspection
GitOrigin-RevId: 8a9fa145c264801f683c679c3cfba49e7c7e8fee
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1eeef6da62
commit
62d5b9bc4d
-1
@@ -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
|
||||
|
||||
@@ -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 <code>#ref</code> 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
|
||||
|
||||
Reference in New Issue
Block a user