From 6a2d8c71aa39a6f47a683c38267c07cd9a00dfeb Mon Sep 17 00:00:00 2001 From: "John J. Franey" Date: Thu, 19 Sep 2019 12:27:10 -0400 Subject: update version of checkstyle for latest google style and jdk 8 Upgrade to use the latest google style (plus onap style). This latest style adds rules for jdk 8 source level. Upgrade the version of checkstyle to 8.24. The latest google style rules are compatible with 8.24 and later. Upgrade checkstyle maven plugin to 3.1.0 (from 2.17). This jdk8 version of checkstyle is active only when the build-time java runtime is jdk8 or later, otherwise, the original checkstyle is active. Issue-ID: INT-1271 Change-Id: Ib190b39efc5a6028ab4874301e6a813f0a36b138 Signed-off-by: John J. Franey --- .../onap-checkstyle/onap-java-style1.8.xml | 268 +++++++++++++++++++++ 1 file changed, 268 insertions(+) create mode 100644 checkstyle/src/main/resources/onap-checkstyle/onap-java-style1.8.xml (limited to 'checkstyle/src/main/resources/onap-checkstyle') diff --git a/checkstyle/src/main/resources/onap-checkstyle/onap-java-style1.8.xml b/checkstyle/src/main/resources/onap-checkstyle/onap-java-style1.8.xml new file mode 100644 index 0000000..514e75f --- /dev/null +++ b/checkstyle/src/main/resources/onap-checkstyle/onap-java-style1.8.xml @@ -0,0 +1,268 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg