From 1a7bb4cc9ab0ae182fa7283462f44758ec24c6ce Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 25 May 2008 08:43:10 +0000 Subject: JavaDoc. --- sources/core/VSTaskManager.java | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'sources/core/VSTaskManager.java') diff --git a/sources/core/VSTaskManager.java b/sources/core/VSTaskManager.java index 272922f..2bc11db 100644 --- a/sources/core/VSTaskManager.java +++ b/sources/core/VSTaskManager.java @@ -9,7 +9,6 @@ import java.util.*; import prefs.*; import utils.*; -// TODO: Auto-generated Javadoc /** * The Class VSTaskManager. */ @@ -173,7 +172,7 @@ public class VSTaskManager { } /** - * Reset. + * Resets the task manager. */ public synchronized void reset() { PriorityQueue tmp = tasks; @@ -201,9 +200,9 @@ public class VSTaskManager { } /** - * Insert. + * Inserts a task. Only for internal usage. Use the add methods instead. * - * @param task the task + * @param task the task to insert */ private void insert(VSTask task) { if (task.timeOver()) @@ -217,19 +216,19 @@ public class VSTaskManager { } /** - * Adds the task. + * Adds a task. * - * @param task the task + * @param task the task to add */ public void addTask(VSTask task) { addTask(task, VSTaskManager.ONLY_ONCE); } /** - * Adds the task. + * Adds a task. * - * @param task the task - * @param isProgrammed the is programmed + * @param task the task to add + * @param isProgrammed the task is programmed */ public synchronized void addTask(VSTask task, boolean isProgrammed) { task.isProgrammed(isProgrammed); @@ -237,9 +236,9 @@ public class VSTaskManager { } /** - * Removes the task. + * Removes a task. * - * @param task the task + * @param task the task to remove * * @return true, if successful */ @@ -257,9 +256,9 @@ public class VSTaskManager { } /** - * Removes the tasks of. + * Removes the tasks of the specified process. * - * @param process the process + * @param process the process to remove the tasks of */ public synchronized void removeTasksOf(VSProcess process) { ArrayList removeThose = new ArrayList(); -- cgit v1.2.3