From bf92cacd3c01a84a751e17b9ab5d42784929b86b Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 22 May 2008 16:16:07 +0000 Subject: Expert mode quick checkbox added. --- 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 131cede..2687ec3 100644 --- a/sources/core/VSTask.java +++ b/sources/core/VSTask.java @@ -16,8 +16,8 @@ public class VSTask implements Comparable { private VSPrefs prefs; private boolean isProgrammed; private boolean isGlobalTimed; - private static int taskCounter; - private int taskNum; + private static int taskCounter; + private int taskNum; public VSTask(long taskTime, VSProcess process, VSEvent event, boolean isLocal) { this.process = process; @@ -25,12 +25,12 @@ public class VSTask implements Comparable { this.event = event; this.prefs = process.getPrefs(); this.isGlobalTimed = !isLocal; - this.taskNum = ++taskCounter; + this.taskNum = ++taskCounter; } - public int getTaskNum() { - return taskNum; - } + public int getTaskNum() { + return taskNum; + } public void isProgrammed(boolean isProgrammed) { this.isProgrammed = isProgrammed; @@ -63,13 +63,13 @@ public class VSTask implements Comparable { } public boolean equals(VSTask task) { - return taskNum == task.getTaskNum(); - /* + return taskNum == task.getTaskNum(); + /* return event.equals(task.getEvent()) && taskTime == task.getTaskTime() && isGlobalTimed == task.isGlobalTimed() && isProgrammed == task.isProgrammed; - */ + */ } public boolean isProcess(VSProcess process) { -- cgit v1.2.3