diff options
| author | Paul Buetow <paul@buetow.org> | 2008-06-12 22:03:41 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-06-12 22:03:41 +0000 |
| commit | ae1e594e43bb18ca293124564c3a63e486bcc9f5 (patch) | |
| tree | 11c4023036c592a234929f9c85af8b76e514b560 /sources/prefs/VSPrefsRestriction.java | |
| parent | 64a08ca2f7f574e63c39b10f8daaf69ee0dba391 (diff) | |
fixed deadlock (probably) bug
Diffstat (limited to 'sources/prefs/VSPrefsRestriction.java')
| -rw-r--r-- | sources/prefs/VSPrefsRestriction.java | 16 |
1 files changed, 8 insertions, 8 deletions
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(); + } } /** |
