Fix globalvariable array lists again
authorbdemsky <bdemsky@uci.edu>
Wed, 7 Aug 2019 01:36:52 +0000 (18:36 -0700)
committerbdemsky <bdemsky@uci.edu>
Wed, 7 Aug 2019 01:36:52 +0000 (18:36 -0700)
GlobalVariables/GlobalVariablesEachApp.groovy

index ae8b936042f5259750bbfa5c5f9791853bec2a30..ba78f9878f871119351c606ab7aa0d9d88446577 100644 (file)
@@ -3,11 +3,11 @@ def state = [home:[],away:[],night:[]]
 //Create a global logger object for methods
 def log = new Logger()
 //Create a global variable for Functions in Subscribe method
-def functionList = []
+def functionList = new ArrayList(20)
 //Create a global variable for Objects in Subscribe method
-def objectList = []
+def objectList = new ArrayList(20)
 //Create a global variable for Events in Subscribe method
-def eventList = []
+def eventList = new ArrayList(20)
 //Create a global variable for settings
 def settings
 //Zip code