Clean confusing indentation
authorAndy Allan <gravitystorm@gmail.com>
Mon, 24 Jan 2011 16:11:46 +0000 (16:11 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Mon, 24 Jan 2011 16:11:46 +0000 (16:11 +0000)
net/systemeD/potlatch2/mapfeatures/MapFeatures.as

index 9acb9bc..eaf140d 100644 (file)
@@ -189,11 +189,11 @@ package net.systemeD.potlatch2.mapfeatures {
             var a:Array=[];
 
             for (var k:String in _tags[type]) { list.push(k); }
-                list.sort();
+            list.sort();
 
-                for each (k in list) { a.push( { name: k } ); }
-                    return a;
-                }
+            for each (k in list) { a.push( { name: k } ); }
+            return a;
+        }
 
         /** Get all the possible values that could go with a given key and type.
         * TODO: Include values previously entered by the user, but not existent in XML file.