Remove trace statements and comments
authorAndy Allan <gravitystorm@gmail.com>
Fri, 15 Oct 2010 17:20:15 +0000 (17:20 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Fri, 15 Oct 2010 17:20:15 +0000 (17:20 +0000)
net/systemeD/halcyon/connection/Trace.as
net/systemeD/potlatch2/mygpx/MyGpxDialog.mxml

index fdd9bdb..660c2fa 100644 (file)
@@ -66,13 +66,11 @@ package net.systemeD.halcyon.connection {
         }
 
         private function fetchFromServer():void {
-            trace("fetchfromServer");
             Connection.getConnectionInstance().fetchTrace(id, saveTraceData);
             dispatchEvent(new Event("loading_data"));
         }
 
         private function saveTraceData(event:Event):void {
-            trace("saveTraceData");
             _traceData = String(URLLoader(event.target).data);
             dispatchEvent(new Event("loaded_data"));
         }
@@ -96,12 +94,10 @@ package net.systemeD.halcyon.connection {
         }
 
         private function processEvent(e:Event):void {
-            trace("processEvent");
             process();
         }
 
         private function process():void {
-            trace("process");
             var xmlnsPattern:RegExp = new RegExp("xmlns[^\"]*\"[^\"]*\"", "gi");
             var xsiPattern:RegExp = new RegExp("xsi[^\"]*\"[^\"]*\"", "gi");
             var raw:String = _traceData.replace(xmlnsPattern, "").replace(xsiPattern, "");
index 5778580..eec346b 100644 (file)
 
     public function loadFile(t:Trace):void {
         t.addToMap();
-        //var vectorlayer:VectorLayer=new VectorLayer(t.filename,map,"gpx.css");
-        //vectorlayer.url=t.url;
-        //map.addVectorLayer(vectorlayer);
-        //var gpx:GpxImporter=new GpxImporter(vectorlayer, vectorlayer.paint, [t.url], filesLoaded, false);
     }
 
     public function filesLoaded(success:Boolean,message:String=null):void {