use FileIO.close instead of close()

master
melvin 2011-08-05 12:17:20 +08:00
parent c4fbe9e2ad
commit 9ef0a7a935
1 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ public class TournamentConfig {
try {
properties.load(fis);
} finally {
fis.close();
magic.data.FileIO.close(fis);
}
load(properties);
System.err.println("Loaded tournament config");
@ -202,7 +202,7 @@ public class TournamentConfig {
try {
properties.store(fos,"Tournament configuration");
} finally {
fos.close();
magic.data.FileIO.close(fos);
}
System.err.println("Saved tournament config");
} catch (final IOException ex) {