summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-25 09:03:10 +0000
committerPaul Buetow <paul@buetow.org>2008-05-25 09:03:10 +0000
commitbb1dbccae485263ea5182546006339870c57b367 (patch)
tree23cfaf1175721d5744bd4f7eaa25b78c71c39c60
parenta10580c984fe08374d4c591102115966e5ed31d1 (diff)
comments.
-rw-r--r--sources/core/time/VSVectorTime.java5
-rw-r--r--sources/prefs/VSDefaultPrefs.java3
-rw-r--r--sources/prefs/VSPrefs.java6
-rw-r--r--sources/prefs/editors/VSColorChooser.java3
-rw-r--r--sources/prefs/editors/VSEditorTable.java9
-rw-r--r--sources/simulator/VSSimulatorCanvas.java3
-rw-r--r--sources/utils/VSFrame.java3
-rw-r--r--sources/utils/VSInfoArea.java3
-rw-r--r--sources/utils/VSPriorityQueue.java3
-rw-r--r--sources/utils/VSRandom.java3
10 files changed, 27 insertions, 14 deletions
diff --git a/sources/core/time/VSVectorTime.java b/sources/core/time/VSVectorTime.java
index 647eb7a..05115c2 100644
--- a/sources/core/time/VSVectorTime.java
+++ b/sources/core/time/VSVectorTime.java
@@ -11,12 +11,13 @@ import java.util.ArrayList;
* The Class VSVectorTime.
*/
public class VSVectorTime extends ArrayList<Long> implements VSTime {
-
+ private static final long serialVersionUID = 1L;
+
/** The global time. */
private long globalTime;
/**
- * Instantiates a new vS vector time.
+ * Instantiates a new vector time.
*
* @param globalTime the global time
*/
diff --git a/sources/prefs/VSDefaultPrefs.java b/sources/prefs/VSDefaultPrefs.java
index 5363967..d7d3f81 100644
--- a/sources/prefs/VSDefaultPrefs.java
+++ b/sources/prefs/VSDefaultPrefs.java
@@ -12,7 +12,8 @@ import java.awt.event.KeyEvent;
* The Class VSDefaultPrefs.
*/
public class VSDefaultPrefs extends VSPrefs {
-
+ private static final long serialVersionUID = 1L;
+
/**
* Inits the.
*
diff --git a/sources/prefs/VSPrefs.java b/sources/prefs/VSPrefs.java
index 65dfcde..611e0fa 100644
--- a/sources/prefs/VSPrefs.java
+++ b/sources/prefs/VSPrefs.java
@@ -78,13 +78,14 @@ public abstract class VSPrefs implements Serializable {
* The Class SettingRestriction.
*/
public class SettingRestriction implements Serializable {
+ private static final long serialVersionUID = 1L;
}
/**
* The Class IntegerSettingRestriction.
*/
public class IntegerSettingRestriction extends SettingRestriction {
-
+ private static final long serialVersionUID = 1L;
/** The min value. */
private int minValue;
@@ -125,7 +126,8 @@ public abstract class VSPrefs implements Serializable {
* The Class StringSettingRestriction.
*/
public class StringSettingRestriction extends SettingRestriction {
-
+ private static final long serialVersionUID = 1L;
+
/** The possible selections. */
Vector<String> possibleSelections;
diff --git a/sources/prefs/editors/VSColorChooser.java b/sources/prefs/editors/VSColorChooser.java
index ea132fc..245e599 100644
--- a/sources/prefs/editors/VSColorChooser.java
+++ b/sources/prefs/editors/VSColorChooser.java
@@ -15,7 +15,8 @@ import prefs.VSPrefs;
* The Class VSColorChooser.
*/
public class VSColorChooser extends JPanel implements ChangeListener {
-
+ private static final long serialVersionUID = 1L;
+
/** The color chooser. */
protected JColorChooser colorChooser;
diff --git a/sources/prefs/editors/VSEditorTable.java b/sources/prefs/editors/VSEditorTable.java
index b641f33..88d7886 100644
--- a/sources/prefs/editors/VSEditorTable.java
+++ b/sources/prefs/editors/VSEditorTable.java
@@ -18,7 +18,8 @@ import prefs.*;
* The Class VSEditorTable.
*/
public class VSEditorTable extends JTable {
-
+ private static final long serialVersionUID = 1L;
+
/** The Constant MIN_ROWS. */
private static final int MIN_ROWS = 20;
@@ -103,7 +104,8 @@ public class VSEditorTable extends JTable {
* The Class VSEditorTableModel.
*/
private class VSEditorTableModel extends AbstractTableModel implements TableCellRenderer {
-
+ private static final long serialVersionUID = 1L;
+
/**
* Instantiates a new vS editor table model.
*/
@@ -205,7 +207,8 @@ public class VSEditorTable extends JTable {
* The Class VSTableCellEditor.
*/
private class VSTableCellEditor extends AbstractCellEditor implements TableCellEditor {
-
+ private static final long serialVersionUID = 1L;
+
/* (non-Javadoc)
* @see javax.swing.table.TableCellEditor#getTableCellEditorComponent(javax.swing.JTable, java.lang.Object, boolean, int, int)
*/
diff --git a/sources/simulator/VSSimulatorCanvas.java b/sources/simulator/VSSimulatorCanvas.java
index 2241883..334b738 100644
--- a/sources/simulator/VSSimulatorCanvas.java
+++ b/sources/simulator/VSSimulatorCanvas.java
@@ -23,7 +23,8 @@ import prefs.editors.*;
* The Class VSSimulatorCanvas.
*/
public class VSSimulatorCanvas extends Canvas implements Runnable, MouseMotionListener, MouseListener, HierarchyBoundsListener {
-
+ private static final long serialVersionUID = 1L;
+
/** The highlighted process. */
private VSProcess highlightedProcess;
diff --git a/sources/utils/VSFrame.java b/sources/utils/VSFrame.java
index ad2b54c..b3a43b5 100644
--- a/sources/utils/VSFrame.java
+++ b/sources/utils/VSFrame.java
@@ -13,7 +13,8 @@ import javax.swing.JFrame;
* The Class VSFrame.
*/
public class VSFrame extends JFrame {
-
+ private static final long serialVersionUID = 1L;
+
/** The Constant X_LOCATION_OFFSET. */
private final static int X_LOCATION_OFFSET = 40;
diff --git a/sources/utils/VSInfoArea.java b/sources/utils/VSInfoArea.java
index 241b8f8..bb485b9 100644
--- a/sources/utils/VSInfoArea.java
+++ b/sources/utils/VSInfoArea.java
@@ -13,7 +13,8 @@ import javax.swing.border.*;
* The Class VSInfoArea.
*/
public class VSInfoArea extends JTextPane {
-
+ private static final long serialVersionUID = 1L;
+
/**
* Instantiates a new vS info area.
*/
diff --git a/sources/utils/VSPriorityQueue.java b/sources/utils/VSPriorityQueue.java
index 7458a54..da83fe6 100644
--- a/sources/utils/VSPriorityQueue.java
+++ b/sources/utils/VSPriorityQueue.java
@@ -11,7 +11,8 @@ import java.util.PriorityQueue;
* The Class VSPriorityQueue.
*/
public final class VSPriorityQueue<T> extends PriorityQueue<T> {
-
+ private static final long serialVersionUID = 1L;
+
/**
* Gets the.
*
diff --git a/sources/utils/VSRandom.java b/sources/utils/VSRandom.java
index 088da4f..bd449d6 100644
--- a/sources/utils/VSRandom.java
+++ b/sources/utils/VSRandom.java
@@ -11,7 +11,8 @@ import java.util.Random;
* The Class VSRandom.
*/
public final class VSRandom extends Random {
-
+ private static final long serialVersionUID = 1L;
+
/**
* Instantiates a new vS random.
*