This commit is contained in:
Roman Shevchenko
2010-11-11 11:54:01 +03:00
parent cc0d2384d8
commit 514cdd1fd4
2 changed files with 1 additions and 2 deletions
@@ -108,7 +108,6 @@ public class ProjectJdkConfigurable implements UnnamedConfigurable {
myCbProjectJdk.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
if (myFreeze) return;
final Sdk oldJdk = myJdksModel.getProjectSdk();
myJdksModel.setProjectSdk(myCbProjectJdk.getSelectedJdk());
clearCaches();
}
@@ -33,7 +33,7 @@ public class ComboBoxWithWidePopup extends JComboBox {
if (SystemInfo.isMac && UIUtil.isUnderAquaLookAndFeel()) setMaximumRowCount(25);
}
public ComboBoxWithWidePopup(final Object items[]) {
public ComboBoxWithWidePopup(final Object[] items) {
super(items);
if (SystemInfo.isMac && UIUtil.isUnderAquaLookAndFeel()) setMaximumRowCount(25);