Skip to content

Commit

Permalink
removed addTasks and removeTasks
Browse files Browse the repository at this point in the history
  • Loading branch information
andranikm committed Oct 31, 2013
1 parent 44bec81 commit 1bdf6f4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,6 @@ public synchronized void stop() {
state = States.STOPPED;
}

@Override
public synchronized void removeTasks( List<Task> tasks ){
for (Task task : tasks) {
removeTask(task);
}
}

@Override
public synchronized void addTasks( List<Task> tasks ){
for (Task task : tasks) {
startTask(task);
}
}

@Override
public synchronized void addTask(Task task) {
if( !tasks.containsKey(task) )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,5 @@ public interface Scheduler extends ExecutionListener {
public void start();
public void stop();
public void addTask( Task task );
public void addTasks( List<Task> tasks );
public void removeTask( Task task );
public void removeTasks( List<Task> tasks );
}

0 comments on commit 1bdf6f4

Please sign in to comment.