diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-24 23:11:37 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-24 23:11:37 +0000 |
| commit | c4ad328e63067bc290c52a92c602220007729a9c (patch) | |
| tree | ebc9e58c72167949ad00352fdcb455f72e7f778b /sources/core/VSTaskManager.java | |
| parent | 7015fbd868d211e5688723e0de9efe933fcb5596 (diff) | |
Cleanup.
Diffstat (limited to 'sources/core/VSTaskManager.java')
| -rw-r--r-- | sources/core/VSTaskManager.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sources/core/VSTaskManager.java b/sources/core/VSTaskManager.java index 6b419cf..a9f3ba3 100644 --- a/sources/core/VSTaskManager.java +++ b/sources/core/VSTaskManager.java @@ -16,28 +16,11 @@ public class VSTaskManager { public VSTaskManager(VSPrefs prefs) { this.prefs = prefs; - //Comparator<VSTask> comparator = createComparator(); this.tasks = new PriorityQueue<VSTask>();//100, comparator); this.globalTasks = new PriorityQueue<VSTask>();//(100, comparator); this.fullfilledProgrammedTasks = new LinkedList<VSTask>(); } - /* - private Comparator<VSTask> createComparator() { - return new Comparator<VSTask>() { - public int compare(VSTask a, VSTask b) { - if (a.getTaskTime() > b.getTaskTime()) - return 1; - - if (a.getTaskTime() < b.getTaskTime()) - return -1; - - return 0; - } - }; - } - */ - public synchronized void runTasks(final long step, final long offset, final long lastGlobalTime) { VSTask task = null; VSProcess process = null; |
