mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
CCE
This commit is contained in:
@@ -48,7 +48,7 @@ public class ProblemDescriptionNode extends InspectionTreeNode {
|
||||
public CommonProblemDescriptor getDescriptor() { return myDescriptor; }
|
||||
|
||||
public Icon getIcon(boolean expanded) {
|
||||
if (myDescriptor != null) {
|
||||
if (myDescriptor instanceof ProblemDescriptorImpl) {
|
||||
ProblemHighlightType problemHighlightType = ((ProblemDescriptorImpl)myDescriptor).getHighlightType();
|
||||
if (problemHighlightType == ProblemHighlightType.ERROR) return ERROR;
|
||||
if (problemHighlightType == ProblemHighlightType.GENERIC_ERROR_OR_WARNING) return WARNING;
|
||||
|
||||
Reference in New Issue
Block a user