From: bdemsky Date: Wed, 7 Aug 2019 01:36:52 +0000 (-0700) Subject: Fix globalvariable array lists again X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartthings-infrastructure.git;a=commitdiff_plain;h=dfb8324dab3d283394c1d672657c8c7f276f2789 Fix globalvariable array lists again --- diff --git a/GlobalVariables/GlobalVariablesEachApp.groovy b/GlobalVariables/GlobalVariablesEachApp.groovy index ae8b936..ba78f98 100644 --- a/GlobalVariables/GlobalVariablesEachApp.groovy +++ b/GlobalVariables/GlobalVariablesEachApp.groovy @@ -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