(no message)

This commit is contained in:
Alexey Kudravtsev
2005-03-29 19:33:34 +04:00
parent 95c66f6a0c
commit 058202268c
@@ -53,7 +53,8 @@ public class HighlightInfo {
if (severity == HighlightSeverity.WARNING) {
return EditorColorsManager.getInstance().getGlobalScheme().getAttributes(CodeInsightColors.WARNINGS_ATTRIBUTES).getErrorStripeColor();
}
return getAttributesByType(type).getErrorStripeColor();
final TextAttributes attributes = getAttributesByType(type);
return attributes == null ? null : attributes.getErrorStripeColor();
}
public static HighlightInfo createHighlightInfo(HighlightInfoType type, PsiElement element, String description) {