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) {