From e7b9e65fc3b06e784008a4dd14a8ba305ac30374 Mon Sep 17 00:00:00 2001 From: Tanguy Leroux Date: Mon, 21 Nov 2016 12:36:44 +0100 Subject: [PATCH] Add checkstyle rule to forbid empty javadoc comments (#20881) This commit adds a RegexpMultiline check to checkstyle that yells when an empty Javadoc comment is found in Java files. Related #20871 --- buildSrc/src/main/resources/checkstyle.xml | 7 +++++++ .../org/elasticsearch/search/nested/SimpleNestedIT.java | 3 --- .../test/rest/yaml/ESClientYamlSuiteTestCase.java | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/buildSrc/src/main/resources/checkstyle.xml b/buildSrc/src/main/resources/checkstyle.xml index 706ef46ffa1..891a85d50a9 100644 --- a/buildSrc/src/main/resources/checkstyle.xml +++ b/buildSrc/src/main/resources/checkstyle.xml @@ -10,6 +10,13 @@ + + + + + + +