You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by bu...@apache.org on 2015/05/08 21:14:18 UTC

svn commit: r950630 - in /websites/staging/pdfbox/trunk/content: ./ codingconventions.html

Author: buildbot
Date: Fri May  8 19:14:17 2015
New Revision: 950630

Log:
Staging update by buildbot for pdfbox

Modified:
    websites/staging/pdfbox/trunk/content/   (props changed)
    websites/staging/pdfbox/trunk/content/codingconventions.html

Propchange: websites/staging/pdfbox/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri May  8 19:14:17 2015
@@ -1 +1 @@
-1678432
+1678433

Modified: websites/staging/pdfbox/trunk/content/codingconventions.html
==============================================================================
--- websites/staging/pdfbox/trunk/content/codingconventions.html (original)
+++ websites/staging/pdfbox/trunk/content/codingconventions.html Fri May  8 19:14:17 2015
@@ -222,7 +222,7 @@
 <p>Prefer comments on their own line, rather than trailing, unless the latter is more readable.</p>
 </li>
 </ul>
-<h2 id="variables">Variables</h2>
+<h3 id="variables">Variables</h3>
 <ul>
 <li>
 <p>Prefer initializing variables when they are declared, rather than C-style declaration before use.</p>
@@ -231,7 +231,7 @@
 <p>Always use final fields when possible.</p>
 </li>
 </ul>
-<h2 id="control-flow">Control Flow</h2>
+<h3 id="control-flow">Control Flow</h3>
 <ul>
 <li>
 <p>Prefer multiple return statements over additional control flow logic.</p>
@@ -240,7 +240,7 @@
 <p>Prefer switch statements over multi-clause if-then statements.</p>
 </li>
 </ul>
-<h2 id="api-design">API Design</h2>
+<h3 id="api-design">API Design</h3>
 <ul>
 <li>
 <p>Give variables and methods meaningful names. Keep these short but don't use abbreviations. Prefer using the same terminology as the PDF spec.</p>
@@ -261,7 +261,7 @@
 <p>Avoid unnecesary abstraction. While you're encouraged to avoid brittle designs, it's unlikey that an API designed for "future use" will have the correct API without any code which actually uses it.</p>
 </li>
 </ul>
-<h2 id="example">Example</h2>
+<h3 id="example">Example</h3>
 <p>Here's an example of PDFBox's formatting style:</p>
 <div class="codehilite"><pre><span class="kd">public</span> <span class="kd">class</span> <span class="nc">Foo</span> <span class="kd">extends</span> <span class="n">Bar</span>
 <span class="o">{</span>