diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-22 16:16:07 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-22 16:16:07 +0000 |
| commit | bf92cacd3c01a84a751e17b9ab5d42784929b86b (patch) | |
| tree | 4d3f65e9273235e48e24c58e3e8347bac3c96150 /sources/core/VSTask.java | |
| parent | d16ef68f4376eec8754d86b134a2f23b4daa13fb (diff) | |
Expert mode quick checkbox added.
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 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) { |
