From 3a44a36ba79a7eddb44b20d60e0a46e1ee4fabe6 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Thu, 17 Jun 2021 16:10:32 +0100 Subject: [PATCH] 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 --- checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml | 2 -- oparent/pom.xml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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 -- 2.16.6