type->diamond: rename warning message after inspection name (IDEA-104448)

This commit is contained in:
anna
2013-04-11 09:10:23 +02:00
parent 55d981e071
commit d077e32980
@@ -67,7 +67,7 @@ public class ExplicitTypeCanBeDiamondInspection extends BaseJavaLocalInspectionT
LOG.assertTrue(classReference != null);
final PsiReferenceParameterList parameterList = classReference.getParameterList();
LOG.assertTrue(parameterList != null);
holder.registerProblem(parameterList, "Redundant type argument #ref #loc",
holder.registerProblem(parameterList, "Explicit type argument #ref #loc can be replaced with <>",
ProblemHighlightType.LIKE_UNUSED_SYMBOL, new ReplaceWithDiamondFix());
}
}