From db7990d13ef86d624dd40fa1694b865c6bfb8d86 Mon Sep 17 00:00:00 2001 From: "Maxim.Mossienko" Date: Fri, 3 Feb 2012 19:42:12 +0400 Subject: [PATCH] fixed NPE when running test --- .../src/com/intellij/openapi/editor/XmlHighlighterColors.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/openapi/src/com/intellij/openapi/editor/XmlHighlighterColors.java b/xml/openapi/src/com/intellij/openapi/editor/XmlHighlighterColors.java index 43f0da56674b..a6fb98685228 100644 --- a/xml/openapi/src/com/intellij/openapi/editor/XmlHighlighterColors.java +++ b/xml/openapi/src/com/intellij/openapi/editor/XmlHighlighterColors.java @@ -41,5 +41,5 @@ public class XmlHighlighterColors { public static final TextAttributesKey HTML_ENTITY_REFERENCE = TextAttributesKey.createTextAttributesKey("HTML_ENTITY_REFERENCE"); public static final TextAttributesKey HTML_CODE = - TextAttributesKey.createTextAttributesKey("HTML_CODE", HighlighterColors.TEXT.getDefaultAttributes().clone()); + TextAttributesKey.createTextAttributesKey("HTML_CODE", HighlighterColors.TEXT.getDefaultAttributes()); }