From b4a600637c8874a67bdd1280664caa7a539ccbe9 Mon Sep 17 00:00:00 2001 From: "Travis CI (pmd-bot)" Date: Sat, 22 Sep 2018 07:55:54 +0000 Subject: [PATCH] Update documentation TRAVIS_JOB_NUMBER=2852.2 TRAVIS_COMMIT_RANGE=7805868f7201...438b015b3d4c --- feed.xml | 4 ++-- pmd_rules_java.html | 2 +- pmd_rules_java_errorprone.html | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/feed.xml b/feed.xml index 5a31557f5b..b7e2a23e1f 100644 --- a/feed.xml +++ b/feed.xml @@ -5,8 +5,8 @@ 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. https://pmd.github.io/pmd/ - Sat, 22 Sep 2018 07:41:03 +0000 - Sat, 22 Sep 2018 07:41:03 +0000 + Sat, 22 Sep 2018 07:55:14 +0000 + Sat, 22 Sep 2018 07:55:14 +0000 Jekyll v3.7.3 diff --git a/pmd_rules_java.html b/pmd_rules_java.html index 4217d55d04..2ed262a401 100644 --- a/pmd_rules_java.html +++ b/pmd_rules_java.html @@ -1515,7 +1515,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
  • MethodWithSameNameAsEnclosingClass: Non-constructor methods should not have the same name as the enclosing class.
  • MisplacedNullCheck: The null check here is misplaced. If the variable is null a NullPointerException will be thrown.E…
  • MissingBreakInSwitch: Switch statements without break or return statements for each case optionmay indicate problematic…
  • -
  • MissingSerialVersionUID: Serializable classes should provide a serialVersionUID field.
  • +
  • MissingSerialVersionUID: Serializable classes should provide a serialVersionUID field.The serialVersionUID field is also n…
  • MissingStaticMethodInNonInstantiatableClass: A class that has private constructors and does not have any static methods or fields cannot be used.
  • MoreThanOneLogger: Normally only one logger is used in each class.
  • NonCaseLabelInSwitchStatement: A non-case label (e.g. a named break/continue label) was present in a switch statement.This legal…
  • diff --git a/pmd_rules_java_errorprone.html b/pmd_rules_java_errorprone.html index 8ff4bc7fa5..089e327e55 100644 --- a/pmd_rules_java_errorprone.html +++ b/pmd_rules_java_errorprone.html @@ -3690,11 +3690,12 @@ may indicate problematic behaviour. Empty cases are ignored as these indicate an

    Priority: Medium (3)

    -

    Serializable classes should provide a serialVersionUID field.

    +

    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 Should an abstract class have a serialVersionUID.

    This rule is defined by the following XPath expression:

    //ClassOrInterfaceDeclaration
    -    [@Abstract = 'false']
         [@Interface = 'false']
         [count(ClassOrInterfaceBody/ClassOrInterfaceBodyDeclaration
             /FieldDeclaration/VariableDeclarator/VariableDeclaratorId[@Image='serialVersionUID']) = 0]