From: liamfallon Date: Thu, 17 Jun 2021 15:10:32 +0000 (+0100) Subject: Update Checkstyle to version 8.43 X-Git-Tag: 3.2.1~3 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=oparent.git;a=commitdiff_plain;h=3a44a36ba79a7eddb44b20d60e0a46e1ee4fabe6 Update Checkstyle to version 8.43 The checkstyle plugin in the 2021-03 version of Eclipse defaults to version 8.43 of Checkstyle. This version of Checkstyle removes the "scope" keyword from the JavadocMethod module, because it is redundant, so the ONAP checkstyle onap-kava-style.xml file breaks. This review: - Removes the "scope" property from the "JavadocMethod" module, where it is redundant anyhow (scope applies on the "MissingJavadocMethod" module - Removes the "scope" property from the "MissingJavadocMethod" because it defaults to the correct value for ONAP, that is "public" Issue-ID: POLICY-3206 Change-Id: I62736ec812595929392b5eef0658acb77365c52a Signed-off-by: liamfallon --- diff --git a/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml b/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml index 609b3ee..4f03bae 100644 --- a/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml +++ b/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml @@ -302,14 +302,12 @@ value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF" /> - - diff --git a/oparent/pom.xml b/oparent/pom.xml index 7c1b781..2b87863 100644 --- a/oparent/pom.xml +++ b/oparent/pom.xml @@ -444,7 +444,7 @@ com.puppycrawl.tools checkstyle - 8.37 + 8.43