Update Scheduler.java

Add some corrects