diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-24 23:11:47 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-24 23:11:47 +0000 |
| commit | bc4135bf1e842c2c4b0f62bbe7b2ce5434ab4e3f (patch) | |
| tree | 0357140267583d2702631327d90f6cfa04dad1b3 /sources/prefs/VSPrefs.java | |
| parent | c4ad328e63067bc290c52a92c602220007729a9c (diff) | |
run astyle.
Diffstat (limited to 'sources/prefs/VSPrefs.java')
| -rw-r--r-- | sources/prefs/VSPrefs.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sources/prefs/VSPrefs.java b/sources/prefs/VSPrefs.java index 4ba0208..15241e0 100644 --- a/sources/prefs/VSPrefs.java +++ b/sources/prefs/VSPrefs.java @@ -438,8 +438,8 @@ public abstract class VSPrefs implements Serializable { objectOutputStream.writeObject(units); } - @SuppressWarnings("unchecked") - public synchronized void readObject(ObjectInputStream objectInputStream) + @SuppressWarnings("unchecked") + public synchronized void readObject(ObjectInputStream objectInputStream) throws IOException, ClassNotFoundException { booleanPrefs = (HashMap<String,Boolean>) objectInputStream.readObject(); colorPrefs = (HashMap<String,Color>) objectInputStream.readObject(); @@ -452,7 +452,7 @@ public abstract class VSPrefs implements Serializable { units = (HashMap<String,String>) objectInputStream.readObject(); } - /* + /* public void saveFile(String filename) { try { FileOutputStream fileOutputStream = new FileOutputStream(filename); @@ -463,9 +463,9 @@ public abstract class VSPrefs implements Serializable { e.printStackTrace(); } } - */ + */ - /* + /* public static VSPrefs openFile(String filename) { VSPrefs prefs = null; @@ -485,7 +485,7 @@ public abstract class VSPrefs implements Serializable { return prefs; } - */ + */ public void copyIntegers(VSPrefs copyInto, String[] keys) { for (String key : keys) |
