No need for this to be a public function
authorAndy Allan <andy@gravitystorm.co.uk>
Mon, 23 May 2011 11:48:42 +0000 (12:48 +0100)
committerAndy Allan <andy@gravitystorm.co.uk>
Mon, 23 May 2011 11:48:42 +0000 (12:48 +0100)
net/systemeD/potlatch2/utils/TrackLoader.as

index d24e0d6..a476d75 100644 (file)
@@ -57,7 +57,7 @@ package net.systemeD.potlatch2.utils {
                        loader.addEventListener(Event.COMPLETE, parseGPX);
                }
 
-               public function parseGPX(event:Event):void {
+               private function parseGPX(event:Event):void {
                        var file:XML = new XML(event.target.data);
                        var action:CompositeUndoableAction = new CompositeUndoableAction("add track objects");
                        for each (var ns:Namespace in file.namespaceDeclarations()) {