summary refs log tree commit diff stats
path: root/src/com/fourisland
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/fourisland')
-rw-r--r--src/com/fourisland/fourpuzzle/SaveFile.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/fourisland/fourpuzzle/SaveFile.java b/src/com/fourisland/fourpuzzle/SaveFile.java index 6e3e441..2b99bc5 100644 --- a/src/com/fourisland/fourpuzzle/SaveFile.java +++ b/src/com/fourisland/fourpuzzle/SaveFile.java
@@ -45,8 +45,6 @@ public class SaveFile implements Serializable {
45 SaveFile temp = null; 45 SaveFile temp = null;
46 try { 46 try {
47 temp = (SaveFile) ois.readObject(); 47 temp = (SaveFile) ois.readObject();
48 } catch (IOException ex) {
49 Logger.getLogger(SaveFile.class.getName()).log(Level.SEVERE, null, ex);
50 } catch (ClassNotFoundException ex) { 48 } catch (ClassNotFoundException ex) {
51 Logger.getLogger(SaveFile.class.getName()).log(Level.SEVERE, null, ex); 49 Logger.getLogger(SaveFile.class.getName()).log(Level.SEVERE, null, ex);
52 } 50 }
@@ -66,6 +64,7 @@ public class SaveFile implements Serializable {
66 ObjectOutputStream oos = new ObjectOutputStream(os); 64 ObjectOutputStream oos = new ObjectOutputStream(os);
67 oos.writeObject(this); 65 oos.writeObject(this);
68 oos.close(); 66 oos.close();
67 os.close();
69 } 68 }
70 69
71 private HashMap<String, Boolean> switches; 70 private HashMap<String, Boolean> switches;