Update documentation
TRAVIS_JOB_NUMBER=2852.2 TRAVIS_COMMIT_RANGE=7805868f7201...438b015b3d4c
This commit is contained in:
4
feed.xml
4
feed.xml
@ -5,8 +5,8 @@
|
||||
<description>Intended as a documentation theme based on Jekyll for technical writers documenting software and other technical products, this theme has all the elements you would need to handle multiple products with both multi-level sidebar navigation, tags, and other documentation features.</description>
|
||||
<link>https://pmd.github.io/pmd/</link>
|
||||
<atom:link href="https://pmd.github.io/pmd/feed.xml" rel="self" type="application/rss+xml"/>
|
||||
<pubDate>Sat, 22 Sep 2018 07:41:03 +0000</pubDate>
|
||||
<lastBuildDate>Sat, 22 Sep 2018 07:41:03 +0000</lastBuildDate>
|
||||
<pubDate>Sat, 22 Sep 2018 07:55:14 +0000</pubDate>
|
||||
<lastBuildDate>Sat, 22 Sep 2018 07:55:14 +0000</lastBuildDate>
|
||||
<generator>Jekyll v3.7.3</generator>
|
||||
|
||||
</channel>
|
||||
|
@ -1515,7 +1515,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
|
||||
<li><a href="pmd_rules_java_errorprone.html#methodwithsamenameasenclosingclass">MethodWithSameNameAsEnclosingClass</a>: Non-constructor methods should not have the same name as the enclosing class.</li>
|
||||
<li><a href="pmd_rules_java_errorprone.html#misplacednullcheck">MisplacedNullCheck</a>: The null check here is misplaced. If the variable is null a NullPointerException will be thrown.E…</li>
|
||||
<li><a href="pmd_rules_java_errorprone.html#missingbreakinswitch">MissingBreakInSwitch</a>: Switch statements without break or return statements for each case optionmay indicate problematic…</li>
|
||||
<li><a href="pmd_rules_java_errorprone.html#missingserialversionuid">MissingSerialVersionUID</a>: Serializable classes should provide a serialVersionUID field.</li>
|
||||
<li><a href="pmd_rules_java_errorprone.html#missingserialversionuid">MissingSerialVersionUID</a>: Serializable classes should provide a serialVersionUID field.The serialVersionUID field is also n…</li>
|
||||
<li><a href="pmd_rules_java_errorprone.html#missingstaticmethodinnoninstantiatableclass">MissingStaticMethodInNonInstantiatableClass</a>: A class that has private constructors and does not have any static methods or fields cannot be used.</li>
|
||||
<li><a href="pmd_rules_java_errorprone.html#morethanonelogger">MoreThanOneLogger</a>: Normally only one logger is used in each class.</li>
|
||||
<li><a href="pmd_rules_java_errorprone.html#noncaselabelinswitchstatement">NonCaseLabelInSwitchStatement</a>: A non-case label (e.g. a named break/continue label) was present in a switch statement.This legal…</li>
|
||||
|
@ -3690,11 +3690,12 @@ may indicate problematic behaviour. Empty cases are ignored as these indicate an
|
||||
|
||||
<p><strong>Priority:</strong> Medium (3)</p>
|
||||
|
||||
<p>Serializable classes should provide a serialVersionUID field.</p>
|
||||
<p>Serializable classes should provide a serialVersionUID field.
|
||||
The serialVersionUID field is also needed for abstract base classes. Each individual class in the inheritance
|
||||
chain needs an own serialVersionUID field. See also <a href="https://stackoverflow.com/questions/893259/should-an-abstract-class-have-a-serialversionuid">Should an abstract class have a serialVersionUID</a>.</p>
|
||||
|
||||
<p><strong>This rule is defined by the following XPath expression:</strong></p>
|
||||
<div class="language-xpath highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="o">//</span><span class="nt">ClassOrInterfaceDeclaration</span><span class="w">
|
||||
</span><span class="p">[</span><span class="na">@Abstract</span><span class="w"> </span><span class="err">=</span><span class="w"> </span><span class="s1">'false'</span><span class="p">]</span><span class="w">
|
||||
</span><span class="p">[</span><span class="na">@Interface</span><span class="w"> </span><span class="err">=</span><span class="w"> </span><span class="s1">'false'</span><span class="p">]</span><span class="w">
|
||||
</span><span class="p">[</span><span class="nf">count</span><span class="p">(</span><span class="nt">ClassOrInterfaceBody</span><span class="o">/</span><span class="nt">ClassOrInterfaceBodyDeclaration</span><span class="w">
|
||||
</span><span class="o">/</span><span class="nt">FieldDeclaration</span><span class="o">/</span><span class="nt">VariableDeclarator</span><span class="o">/</span><span class="nt">VariableDeclaratorId</span><span class="p">[</span><span class="na">@Image</span><span class="err">=</span><span class="s1">'serialVersionUID'</span><span class="p">])</span><span class="w"> </span><span class="err">=</span><span class="w"> </span><span class="m">0</span><span class="p">]</span><span class="w">
|
||||
|
Reference in New Issue
Block a user