Skip to content

Commit

Permalink
Suppress warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
deadok22 committed Nov 6, 2015
1 parent 157aba5 commit ef8af09
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -44,6 +44,7 @@ public class ErlangUnitRunConfigurationEditorForm extends ErlangDebuggableRunCon
private JLabel myErlangModulesLabel;
private JLabel myErlangFunctionsLabel;
private JComboBox myTestKindComboBox;
@SuppressWarnings("unused")
private HideableTitledPanel myDebugOptionsHideablePanel;
private TextFieldWithBrowseButton myWorkingDirectoryComponent;

Expand All @@ -67,9 +68,11 @@ protected void doResetEditorFrom(ErlangUnitRunConfiguration configuration) {
myTestKindComboBox.removeAllItems();
ErlangUnitRunConfiguration.ErlangUnitRunConfigurationKind[] kinds = ErlangUnitRunConfiguration.ErlangUnitRunConfigurationKind.values();
for (ErlangUnitRunConfiguration.ErlangUnitRunConfigurationKind kind : kinds) {
//noinspection unchecked
myTestKindComboBox.addItem(kind);
}
myTestKindComboBox.setSelectedItem(configData.getKind());
//noinspection unchecked
myTestKindComboBox.setRenderer(getTestKindListCellRendererWrapper());

myErlangModulesField.setText(getCommaSeparatedNamesString(configData.getModuleNames()));
Expand Down

0 comments on commit ef8af09

Please sign in to comment.