diff options
Diffstat (limited to 'xml/impl/src/com/intellij/xml/util/UserColorLookup.java')
-rw-r--r-- | xml/impl/src/com/intellij/xml/util/UserColorLookup.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xml/impl/src/com/intellij/xml/util/UserColorLookup.java b/xml/impl/src/com/intellij/xml/util/UserColorLookup.java index 46c82f243787..ac6f473e5be2 100644 --- a/xml/impl/src/com/intellij/xml/util/UserColorLookup.java +++ b/xml/impl/src/com/intellij/xml/util/UserColorLookup.java @@ -36,6 +36,7 @@ import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.awt.*; +import java.util.List; /** * @author maxim @@ -79,7 +80,7 @@ public class UserColorLookup extends LookupElementDecorator<LookupElement> { context.getDocument().deleteString(context.getStartOffset(), context.getTailOffset()); - ColorPickerListener[] listeners = ColorPickerListenerFactory.createListenersFor(element); + List<ColorPickerListener> listeners = ColorPickerListenerFactory.createListenersFor(element); Color color = ColorChooser.chooseColor(WindowManager.getInstance().suggestParentWindow(context.getProject()), XmlBundle.message("choose.color.dialog.title"), myColorAtCaret, true, listeners, true); |