banshee r2974 - trunk/banshee



Author: scottp
Date: Tue Jan 15 20:27:10 2008
New Revision: 2974
URL: http://svn.gnome.org/viewvc/banshee?rev=2974&view=rev

Log:
HACKING: Space before parens.


Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/HACKING

Modified: trunk/banshee/HACKING
==============================================================================
--- trunk/banshee/HACKING	(original)
+++ trunk/banshee/HACKING	Tue Jan 15 20:27:10 2008
@@ -21,15 +21,15 @@
 
       UpperCaseStartingLetter
 
-  3. No spaces before method/conditional parenthesis, braces:
+  3. A space before method/conditional parenthesis, braces:
 
-      if(condition) {
-         CallSomeFunction(args);
+      if (condition) {
+         CallSomeFunction (args);
       }
 
   4. One space before a brace on the same line as a conditional or property:
 
-      while(condition) {
+      while (condition) {
          ...
       }
 
@@ -39,9 +39,9 @@
       {
           public class Bar
           {
-              private void Method()
+              private void Method ()
               {
-                  if(condition) {
+                  if (condition) {
                       ..
                   }
               }
@@ -61,7 +61,7 @@
      
       public string Something {
           set {
-              DoSomething();
+              DoSomething ();
               something = value;
           }
       }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]