From bc4135bf1e842c2c4b0f62bbe7b2ce5434ab4e3f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 24 May 2008 23:11:47 +0000 Subject: run astyle. --- sources/prefs/VSPrefs.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sources/prefs/VSPrefs.java') 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) objectInputStream.readObject(); colorPrefs = (HashMap) objectInputStream.readObject(); @@ -452,7 +452,7 @@ public abstract class VSPrefs implements Serializable { units = (HashMap) 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) -- cgit v1.2.3