[jboss-cvs] JBoss Profiler SVN: r572 - branches/JBossProfiler2/doc/developerguide/en/modules.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Oct 28 15:28:57 EDT 2009
Author: jesper.pedersen
Date: 2009-10-28 15:28:57 -0400 (Wed, 28 Oct 2009)
New Revision: 572
Modified:
branches/JBossProfiler2/doc/developerguide/en/modules/coding.xml
Log:
Correct code style
Modified: branches/JBossProfiler2/doc/developerguide/en/modules/coding.xml
===================================================================
--- branches/JBossProfiler2/doc/developerguide/en/modules/coding.xml 2009-10-28 19:20:52 UTC (rev 571)
+++ branches/JBossProfiler2/doc/developerguide/en/modules/coding.xml 2009-10-28 19:28:57 UTC (rev 572)
@@ -5,26 +5,28 @@
<section id="sourcecodestyle">
<title>Source code formatting</title>
- <para>JBoss Profiler uses 3 spaces for indentation with curly brakets on the next line
- as the class or the statement.</para>
+ <para>JBoss Profiler uses 3 spaces for indentation with curly brakets on the next line as the class or the statement.</para>
<programlisting>
/**
* My class
*/
-public class MyClass {
-
- /**
- * My method
- */
- public void myMethod() {
- if (value) {
- // Do something
- } else {
- // Do something else
- }
- }
-
+public class MyClass
+{
+ /**
+ * My method
+ */
+ public void myMethod()
+ {
+ if (value)
+ {
+ // Do something
+ }
+ else
+ {
+ // Do something else
+ }
+ }
}
</programlisting>
More information about the jboss-cvs-commits
mailing list