a minor bug in schedule method!
authoramiraj <amiraj.95@uci.edu>
Thu, 1 Aug 2019 23:01:36 +0000 (16:01 -0700)
committeramiraj <amiraj.95@uci.edu>
Thu, 1 Aug 2019 23:01:36 +0000 (16:01 -0700)
Methods/schedule.groovy

index fac8d95..307b221 100644 (file)
@@ -15,7 +15,6 @@ def schedule(String time, String nameOfFunction) {
        //} else {
        //      delay = inputTime-currentTime
        //}
-
        timersFuncList.add(nameOfFunction)
        timersList.add(new SimulatedTimer())
        def task = timersList[timersFuncList.indexOf(nameOfFunction)].runAfter(/*delay*1000*0*/0) {