Merge branch 'master' into snapshotserver
[potlatch2.git] / net / systemeD / halcyon / connection / Connection.as
index ea6da9c301e3a9580b20e47e82940ee130543699..5893d8491f3a151fe99c3922ceb3ad6521807df6 100644 (file)
@@ -91,7 +91,7 @@ package net.systemeD.halcyon.connection {
                public var nodecount:int=0;
                public var waycount:int=0;
                public var relationcount:int=0;
-        private var traces:Array = [];
+        private var traces:Vector.<Trace> = new Vector.<Trace>();
         private var nodePositions:Object = {};
         protected var traces_loaded:Boolean = false;
                private var loadedBboxes:Array = [];
@@ -440,12 +440,12 @@ package net.systemeD.halcyon.connection {
             return changeset;
         }
 
-        public function addTrace(t:Object):void {
+        public function addTrace(t:Trace):void {
             traces.push(t);
         }
 
         protected function clearTraces():void {
-            traces = [];
+            traces = new Vector.<Trace>();
         }
 
                public function findTrace(id:int):Trace {
@@ -455,7 +455,7 @@ package net.systemeD.halcyon.connection {
                        return null;
                }
 
-        public function getTraces():Array {
+        public function getTraces():Vector.<Trace> {
             return traces;
         }