Merge branch 'master' into flex4
[potlatch2.git] / net / systemeD / halcyon / connection / Connection.as
index 9a850627bcaffb89639e7abaf8044a43d566f451..07a43b7037236d6bfc4d6b8b97e8c30a1cc6862a 100644 (file)
@@ -90,7 +90,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 = [];
@@ -439,12 +439,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 {
@@ -454,7 +454,7 @@ package net.systemeD.halcyon.connection {
                        return null;
                }
 
-        public function getTraces():Array {
+        public function getTraces():Vector.<Trace> {
             return traces;
         }