mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
type->diamond: rename warning message after inspection name (IDEA-104448)
This commit is contained in:
+1
-1
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user