diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-25 09:48:22 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-25 09:48:22 +0000 |
| commit | 5b6bf8d65ecd6b4b3cccc17314dd763255fb3856 (patch) | |
| tree | 6372e6ffb8adc5767d8fd1f35a5f5d3130646ee5 /sources/core | |
| parent | deed4e94f9502377459c1f99f679ea5dd96d9bfa (diff) | |
Added private static final long serialVersionUID = 1L;
Some docu update.
Diffstat (limited to 'sources/core')
| -rw-r--r-- | sources/core/VSMessage.java | 1 | ||||
| -rw-r--r-- | sources/core/VSProcess.java | 1 | ||||
| -rw-r--r-- | sources/core/VSTask.java | 1 | ||||
| -rw-r--r-- | sources/core/VSTaskManager.java | 1 | ||||
| -rw-r--r-- | sources/core/time/VSLamportTime.java | 1 | ||||
| -rw-r--r-- | sources/core/time/VSTime.java | 1 |
6 files changed, 5 insertions, 1 deletions
diff --git a/sources/core/VSMessage.java b/sources/core/VSMessage.java index ff442c7..d939e28 100644 --- a/sources/core/VSMessage.java +++ b/sources/core/VSMessage.java @@ -12,6 +12,7 @@ import prefs.VSPrefs; * This class represents a message which is send from one process to another process in the simulation. */ public class VSMessage extends VSPrefs { + private static final long serialVersionUID = 1L; /** Each message belongs to a specific protocol. This variable defined the class name of the protocol being used. */ private String protocolClassname; diff --git a/sources/core/VSProcess.java b/sources/core/VSProcess.java index 047b68d..dcde77a 100644 --- a/sources/core/VSProcess.java +++ b/sources/core/VSProcess.java @@ -19,6 +19,7 @@ import utils.*; * The Class VSProcess. A object of this class represents a process of a simulation. */ public class VSProcess extends VSPrefs { + private static final long serialVersionUID = 1L; /** The protocols to reset if the simulation is over or the reset button has been pressed. */ private ArrayList<VSProtocol> protocolsToReset; diff --git a/sources/core/VSTask.java b/sources/core/VSTask.java index 774dd7d..2c6500f 100644 --- a/sources/core/VSTask.java +++ b/sources/core/VSTask.java @@ -17,6 +17,7 @@ import protocols.VSProtocol; * Global timed tasks are being fullfilled if the simulation's time is reached. */ public class VSTask implements Comparable { + private static final long serialVersionUID = 1L; /** The Constant LOCAL. Used for the constructor if it's a local timed task. */ public final static boolean LOCAL = true; diff --git a/sources/core/VSTaskManager.java b/sources/core/VSTaskManager.java index 3cf1e12..8572cec 100644 --- a/sources/core/VSTaskManager.java +++ b/sources/core/VSTaskManager.java @@ -13,6 +13,7 @@ import utils.*; * The Class VSTaskManager. */ public class VSTaskManager { + private static final long serialVersionUID = 1L; /** The tasks. */ private PriorityQueue<VSTask> tasks; diff --git a/sources/core/time/VSLamportTime.java b/sources/core/time/VSLamportTime.java index c3b138b..e78970f 100644 --- a/sources/core/time/VSLamportTime.java +++ b/sources/core/time/VSLamportTime.java @@ -9,6 +9,7 @@ package core.time; * This class defined how the lamport timestamps are represented. */ public class VSLamportTime implements VSTime { + private static final long serialVersionUID = 1L; /** Specified the global time of the lamport timestamp. It's used for correct painting in the simulator paint area. */ private long globalTime; diff --git a/sources/core/time/VSTime.java b/sources/core/time/VSTime.java index 24f9b7d..c68882b 100644 --- a/sources/core/time/VSTime.java +++ b/sources/core/time/VSTime.java @@ -9,7 +9,6 @@ package core.time; * This interface is a guidline for general time format classes. */ public interface VSTime { - /** * Getter method. * |
