Skip to content

Commit

Permalink
re-organizing methods of SingleThreadedScheduler class
Browse files Browse the repository at this point in the history
  • Loading branch information
iliasger committed Feb 14, 2015
1 parent e86cdda commit c3f5c2d
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ public void setSchedulerNotifier(SchedulerNotifier schedulerNotifier) {
this.schedulerNotifier = schedulerNotifier;
}

@Override
public SchedulerNotifier getSchedulerNotifier() {
return schedulerNotifier;
}

@Override
public void addTask(Task task) {
if (task == null) {
Expand Down Expand Up @@ -155,9 +160,5 @@ public void at(long time) {
executor.execute(event.executable, event.trigger);
}
}

public SchedulerNotifier getSchedulerNotifier() {
return schedulerNotifier;
}

}

0 comments on commit c3f5c2d

Please sign in to comment.