summaryrefslogtreecommitdiff
path: root/sources/prefs
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-06-13 19:19:25 +0000
committerPaul Buetow <paul@buetow.org>2008-06-13 19:19:25 +0000
commite4ac5f70765657dfab2a615a2bfcf6dc5c4ffdab (patch)
tree818e42214cc6a69845dc20c0ea6b9f21bba2e86e /sources/prefs
parent86d37c2c10b9a0abbf1f4256333f13914c3c740b (diff)
run astyle
Diffstat (limited to 'sources/prefs')
-rw-r--r--sources/prefs/VSPrefs.java2
-rw-r--r--sources/prefs/VSPrefsRestriction.java16
2 files changed, 9 insertions, 9 deletions
diff --git a/sources/prefs/VSPrefs.java b/sources/prefs/VSPrefs.java
index be50a76..70f378f 100644
--- a/sources/prefs/VSPrefs.java
+++ b/sources/prefs/VSPrefs.java
@@ -997,7 +997,7 @@ public class VSPrefs implements VSSerializable {
vectorPrefs = (HashMap<String,Vector<Integer>>)
objectInputStream.readObject();
restrictions = (HashMap<String,VSPrefsRestriction>)
- objectInputStream.readObject();
+ objectInputStream.readObject();
/** For later backwards compatibility, to add more stuff */
objectInputStream.readObject();
diff --git a/sources/prefs/VSPrefsRestriction.java b/sources/prefs/VSPrefsRestriction.java
index 32ab213..0709713 100644
--- a/sources/prefs/VSPrefsRestriction.java
+++ b/sources/prefs/VSPrefsRestriction.java
@@ -77,8 +77,8 @@ abstract public class VSPrefsRestriction implements Serializable {
*/
public void writeObject(ObjectOutputStream out)
throws IOException {
- out.writeObject(new Integer(minValue));
- out.writeObject(new Integer(maxValue));
+ out.writeObject(new Integer(minValue));
+ out.writeObject(new Integer(maxValue));
}
/* (non-Javadoc)
@@ -86,8 +86,8 @@ abstract public class VSPrefsRestriction implements Serializable {
*/
public void readObject(ObjectInputStream in)
throws IOException, ClassNotFoundException {
- minValue = ((Integer) in.readObject()).intValue();
- maxValue = ((Integer) in.readObject()).intValue();
+ minValue = ((Integer) in.readObject()).intValue();
+ maxValue = ((Integer) in.readObject()).intValue();
}
}
@@ -126,17 +126,17 @@ abstract public class VSPrefsRestriction implements Serializable {
*/
public void writeObject(ObjectOutputStream out)
throws IOException {
- out.writeObject(possibleSelections);
+ out.writeObject(possibleSelections);
}
/* (non-Javadoc)
* @see prefs.VSPrefsRestriction#readObject(java.io.ObjectInputStream)
*/
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("unchecked")
public void readObject(ObjectInputStream in)
throws IOException, ClassNotFoundException {
- possibleSelections = (Vector<String>) in.readObject();
- }
+ possibleSelections = (Vector<String>) in.readObject();
+ }
}
/**