Incorporate feedback from randomjunk and TomH
authorAndy Allan <gravitystorm@gmail.com>
Mon, 13 Dec 2010 11:30:43 +0000 (11:30 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Mon, 13 Dec 2010 11:30:43 +0000 (11:30 +0000)
CODING.txt

index 69c163c..03d93e3 100644 (file)
@@ -17,12 +17,18 @@ package net.systemed.potlatch2.indentation {
 
     class IndentedByFourSpaces {
 
-        public function IndentedByFourMoreSpaces:void {
-            if (indentedCodeWithinFunction) {
-              justIndentByTwoSpaces = true;
+        public function IndentedByFourMoreSpaces():void {
+            if (indentedCodeWithinFunctionHasTwoSpaceIndents) {
+              // lots of places in the codebase have two-space indents within functions
+              // like this. Don't mix and match like this example!
+              beConsistent = true;
             } else {
-              shotAtDawn = true;
+                useFourSpaceIndents = true;
             }
         }
     }
 }
+
+== MXML ==
+
+* Indentation is like the wild west in there. Consistency is king.
\ No newline at end of file