You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2011/11/19 16:46:30 UTC

svn commit: r1203998 - /incubator/opennlp/site/trunk/content/opennlp/code-conventions.mdtext

Author: joern
Date: Sat Nov 19 15:46:30 2011
New Revision: 1203998

URL: http://svn.apache.org/viewvc?rev=1203998&view=rev
Log:
OPENNLP-23 Small formating changes

Modified:
    incubator/opennlp/site/trunk/content/opennlp/code-conventions.mdtext

Modified: incubator/opennlp/site/trunk/content/opennlp/code-conventions.mdtext
URL: http://svn.apache.org/viewvc/incubator/opennlp/site/trunk/content/opennlp/code-conventions.mdtext?rev=1203998&r1=1203997&r2=1203998&view=diff
==============================================================================
--- incubator/opennlp/site/trunk/content/opennlp/code-conventions.mdtext (original)
+++ incubator/opennlp/site/trunk/content/opennlp/code-conventions.mdtext Sat Nov 19 15:46:30 2011
@@ -5,7 +5,7 @@ is contributed to the project should adh
 
 * Use 2 spaces for indentation. No tabs!
 * Place open braces on the same line as the declaration, for example:
-<pre><code>
+        <pre><code>
 public class Foo extends Bar {
   public static void main(String args[]) {
     try {
@@ -18,13 +18,13 @@ public class Foo extends Bar {
     }
   }
 }
-</code></pre>
+        </code></pre>
 * Wrap lines longer than 80 to 100 characters. For wrapped lines use an indent of 8 characters.
 * Within a class or interface, definitions should be ordered as follows:
-1. Inner classses
-2. Class (static) variables
-3. Instance variables
-4. Constructors
+        1. Inner classses
+        2. Class (static) variables
+        3. Instance variables
+        4. Constructors
 5. Methods
 
 * Do not use package imports (for example import org.apache.opennlp.*)