WorkerTaskMonitor: Fix isTaskRunning check

This commit is contained in:
Gian Merlino 2013-03-24 18:19:32 -07:00
parent e72695111c
commit dcd10e69c7
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ public class WorkerTaskMonitor implements QuerySegmentWalker
private boolean isTaskRunning(final Task task)
{
for (final Task runningTask : running) {
if (runningTask.equals(task.getId())) {
if (runningTask.getId().equals(task.getId())) {
return true;
}
}