mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java][highlight] IDEA-274531 errors shown incorrectly when a method name is the same as a nested class name
Remove redundant code GitOrigin-RevId: 0e98bcdfde51ac4a2e97f639da7c7187e2aa0826
This commit is contained in:
committed by
intellij-monorepo-bot
parent
383d5a0aab
commit
b0c3bd2060
-6
@@ -3000,12 +3000,6 @@ public final class HighlightUtil {
|
||||
}
|
||||
else {
|
||||
description = JavaErrorBundle.message("cannot.resolve.symbol", refName.getText());
|
||||
if (isCallToStaticMember(refParent)) {
|
||||
final String text = JavaErrorBundle.message("cannot.resolve.symbol", refName.getText());
|
||||
final HighlightInfo info = HighlightInfo.newHighlightInfo(HighlightInfoType.ERROR).range(ref).descriptionAndTooltip(text).create();
|
||||
QuickFixAction.registerQuickFixAction(info, new RemoveNewKeywordFix(refParent));
|
||||
return info;
|
||||
}
|
||||
}
|
||||
|
||||
HighlightInfo info =
|
||||
|
||||
Reference in New Issue
Block a user