From 61bac680f901b653dfe062b1b1b57c1e2375beb1 Mon Sep 17 00:00:00 2001 From: nik Date: Wed, 24 Sep 2014 18:24:19 +0400 Subject: [PATCH] cleanup --- .../src/com/intellij/facet/impl/ui/FacetEditorImpl.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java/idea-ui/src/com/intellij/facet/impl/ui/FacetEditorImpl.java b/java/idea-ui/src/com/intellij/facet/impl/ui/FacetEditorImpl.java index 9edd3af6ff5d..a131569d6bce 100644 --- a/java/idea-ui/src/com/intellij/facet/impl/ui/FacetEditorImpl.java +++ b/java/idea-ui/src/com/intellij/facet/impl/ui/FacetEditorImpl.java @@ -79,9 +79,7 @@ public class FacetEditorImpl extends UnnamedConfigurableGroup implements Unnamed final TabbedPaneWrapper tabbedPane = new TabbedPaneWrapper(myDisposable); for (FacetEditorTab editorTab : myEditorTabs) { JComponent c = editorTab.createComponent(); - if (c != null) { - UIUtil.addInsets(c, UIUtil.PANEL_SMALL_INSETS); - } + UIUtil.addInsets(c, UIUtil.PANEL_SMALL_INSETS); tabbedPane.addTab(editorTab.getDisplayName(), c); } tabbedPane.addChangeListener(new ChangeListener() {