projects
/
smartthings-infrastructure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
295e115
)
a minor bug in schedule method!
author
amiraj
<amiraj.95@uci.edu>
Thu, 1 Aug 2019 23:01:36 +0000
(16:01 -0700)
committer
amiraj
<amiraj.95@uci.edu>
Thu, 1 Aug 2019 23:01:36 +0000
(16:01 -0700)
Methods/schedule.groovy
patch
|
blob
|
history
diff --git
a/Methods/schedule.groovy
b/Methods/schedule.groovy
index fac8d952cecfc82dc001b519d9bc74dedcf045df..307b221e25c3f2a89cd3f6f3981ec78648d5252d 100644
(file)
--- a/
Methods/schedule.groovy
+++ b/
Methods/schedule.groovy
@@
-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) {