From ca09c67e85acb0ab6c85c87f0dd0c05b35262b12 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 28 May 2008 22:11:57 +0000 Subject: alle event classnames now have a VS prefix. --- sources/core/VSTask.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'sources/core/VSTask.java') 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; -- cgit v1.2.3