platform-core-home/documents/coding_conventions.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3, Wed Nov 5 22:08:45 2003 UTC revision 1.4, Tue Apr 13 20:24:08 2004 UTC
# Line 6  Line 6 
6  <ul>  <ul>
7    <li>set line length to be something large (like 800)</li>    <li>set line length to be something large (like 800)</li>
8    <li>turn off formatting for comments</li>    <li>turn off formatting for comments</li>
9    <li> use the rest of the default settings</li>    <li> use the core formatting settings found <a href="core_formatting.xml">here</a></li>
10  </ul>  </ul>
11  <h3>Organize imports:</h3>  <h3>Organize imports:</h3>
12  <ul>  <ul>
# Line 43  Line 43 
43  <ul>  <ul>
44    <li>Turn on all the compiler prefs including unused temps, synthetic accessor    <li>Turn on all the compiler prefs including unused temps, synthetic accessor
45      methods, unused imports, unused parameters, non-NLS'd strings, etc etc</li>      methods, unused imports, unused parameters, non-NLS'd strings, etc etc</li>
46      <li>Turn on compiler warnings for javadoc<br>
47        &nbsp;&nbsp;Javadoc -&gt; Process Javadoc comments<br>
48        &nbsp;&nbsp;&nbsp;&nbsp;- Malformed Javadoc comments -&gt; warning <br>
49        &nbsp;&nbsp;&nbsp;&nbsp;- Report Errors in tags -&gt; true </li>
50    <li> NLS your strings. Look at the Policy class.</li>    <li> NLS your strings. Look at the Policy class.</li>
51    <li> Compiler tasks. We have 3 that we use as a team (TODO, FIXME, XXX) Do not    <li> Compiler tasks. We have 3 that we use as a team (TODO, FIXME, XXX) Do not
52      add your own as this is unecessary and requires everyone on the team to change      add your own as this is unecessary and requires everyone on the team to change

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4