From bf343ccd4014660644bbe0721f61910976697196 Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Wed, 27 Feb 2013 16:09:19 +0400 Subject: [PATCH] new HashSet() -> ContainerUtil.newHashSet According to a review comment in CR-IC-84. --- .../openapi/vcs/changes/ui/NewEditChangelistPanel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/NewEditChangelistPanel.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/NewEditChangelistPanel.java index 58add2e8a032..1fa2184c734c 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/NewEditChangelistPanel.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/NewEditChangelistPanel.java @@ -28,10 +28,10 @@ import com.intellij.openapi.vcs.changes.LocalChangeList; import com.intellij.spellchecker.ui.SpellCheckingEditorCustomization; import com.intellij.ui.*; import com.intellij.util.Consumer; +import com.intellij.util.containers.ContainerUtil; import javax.swing.*; import java.awt.*; -import java.util.HashSet; import java.util.Set; public abstract class NewEditChangelistPanel extends JPanel { @@ -163,7 +163,7 @@ public abstract class NewEditChangelistPanel extends JPanel { final EditorTextFieldProvider service = ServiceManager.getService(project, EditorTextFieldProvider.class); final EditorTextField editorField; - final Set editorFeatures = new HashSet(); + final Set editorFeatures = ContainerUtil.newHashSet(); editorFeatures.add(SpellCheckingEditorCustomization.ENABLED); if (defaultLines == 1) {