diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-28 22:11:57 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-28 22:11:57 +0000 |
| commit | ca09c67e85acb0ab6c85c87f0dd0c05b35262b12 (patch) | |
| tree | ada90495be58a1b508f9cc30c722735b58cb776d /sources/core/VSTask.java | |
| parent | 4d5a90f7191b6c175863d0375e9d1e17b2df39d4 (diff) | |
alle event classnames now have a VS prefix.
Diffstat (limited to 'sources/core/VSTask.java')
| -rw-r--r-- | sources/core/VSTask.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sources/core/VSTask.java b/sources/core/VSTask.java index e281399..0bc0d3f 100644 --- a/sources/core/VSTask.java +++ b/sources/core/VSTask.java @@ -109,8 +109,8 @@ public class VSTask implements Comparable { * * @return true, if it is a message receive event */ - public boolean isMessageReceiveEvent() { - return event instanceof MessageReceiveEvent; + public boolean isVSMessageReceiveEvent() { + return event instanceof VSMessageReceiveEvent; } /** @@ -118,8 +118,8 @@ public class VSTask implements Comparable { * * @return true, if it is a process recover event */ - public boolean isProcessRecoverEvent() { - return event instanceof ProcessRecoverEvent; + public boolean isVSProcessRecoverEvent() { + return event instanceof VSProcessRecoverEvent; } /** @@ -252,8 +252,8 @@ public class VSTask implements Comparable { return 1; /* If it's a ProtocolRecover, it should get handled very first */ - boolean a = event instanceof ProcessRecoverEvent; - boolean b = task.getEvent() instanceof ProcessRecoverEvent; + boolean a = event instanceof VSProcessRecoverEvent; + boolean b = task.getEvent() instanceof VSProcessRecoverEvent; if (a && b) return 0; @@ -264,9 +264,9 @@ public class VSTask implements Comparable { if (b) return 1; - /* If it's a ProtocolEvent, it should get handled first */ - a = event instanceof ProtocolEvent; - b = task.getEvent() instanceof ProtocolEvent; + /* If it's a VSProtocolEvent, it should get handled first */ + a = event instanceof VSProtocolEvent; + b = task.getEvent() instanceof VSProtocolEvent; if (a && b) return 0; |
