修改部分阻断问题

This commit is contained in:
zhoudaxia 2016-08-26 13:07:29 +08:00
parent ed407d3129
commit 0834814b9a
2 changed files with 3 additions and 2 deletions

View File

@ -73,6 +73,7 @@ public class UpdateRatingFiles {
while ((record = br.readLine()) != null) {
battles.add(record);
}
fr.close();
} catch (IOException e) {
System.out.println("Can't open # battles file ... Aborting # battles update");
return false;

View File

@ -228,7 +228,7 @@ public class PreferencesSoundOptionsTab extends WizardPanel {
if (AudioSystem.getMixer(mi).getSourceLineInfo(clipLineInfo).length > 0) {
mixers.add(mi);
}
mi.close();
AudioSystem.getMixer(mi).close();
}
mixerComboBox = new JComboBox(mixers);
@ -319,7 +319,7 @@ public class PreferencesSoundOptionsTab extends WizardPanel {
getMixerComboBox().setSelectedItem(mi);
break;
}
mi.close();
AudioSystem.getMixer(mi).close();
}
}