From 0a2f5799a2809b84e4c0da4b2cb743b798ca0fc8 Mon Sep 17 00:00:00 2001 From: sebright Date: Thu, 16 Aug 2018 15:04:02 -0700 Subject: checkstyle: 8.0 -> 8.12 (#1369) This commit also merges new changes to checkstyle.xml and fixes new checkstyle warnings related to Javadocs. --- buildscripts/checkstyle.xml | 100 +++++++++++++++++++++++---------- buildscripts/kokoro/linux_presubmit.sh | 4 +- 2 files changed, 72 insertions(+), 32 deletions(-) (limited to 'buildscripts') diff --git a/buildscripts/checkstyle.xml b/buildscripts/checkstyle.xml index bfdc314f..50b146e7 100644 --- a/buildscripts/checkstyle.xml +++ b/buildscripts/checkstyle.xml @@ -1,7 +1,7 @@ + "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" + "https://checkstyle.org/dtds/configuration_1_3.dtd"> - - - + + + - - + + @@ -55,20 +57,23 @@ - + - - - + - + - + @@ -77,14 +82,14 @@ - - - + + @@ -101,6 +106,23 @@ + + + + + + + + + + + + + + + + + + + + + - - - @@ -171,20 +198,30 @@ + + + + + + - + - + @@ -194,12 +231,14 @@ - + - + @@ -207,9 +246,11 @@ - - - + + + @@ -218,20 +259,19 @@ value="Method name ''{0}'' must match pattern ''{1}''."/> - - + + - + - diff --git a/buildscripts/kokoro/linux_presubmit.sh b/buildscripts/kokoro/linux_presubmit.sh index 327d310c..bb1281b4 100755 --- a/buildscripts/kokoro/linux_presubmit.sh +++ b/buildscripts/kokoro/linux_presubmit.sh @@ -64,8 +64,8 @@ case "$TASK" in ./gradlew clean assemble -PcheckerFramework=true ;; "CHECK_EXAMPLES_LICENSE") - curl -L -o checkstyle-8.0-all.jar https://github.com/checkstyle/checkstyle/releases/download/checkstyle-8.0/checkstyle-8.0-all.jar - java -DrootDir=. -jar checkstyle-8.0-all.jar -c buildscripts/checkstyle.xml examples/src/ + curl -L -o checkstyle-8.12-all.jar https://github.com/checkstyle/checkstyle/releases/download/checkstyle-8.12/checkstyle-8.12-all.jar + java -DrootDir=. -jar checkstyle-8.12-all.jar -c buildscripts/checkstyle.xml examples/src/ ;; "CHECK_EXAMPLES_FORMAT") curl -L -o google-java-format-1.5-all-deps.jar \ -- cgit v1.2.3