aboutsummaryrefslogtreecommitdiffstats
path: root/checkstyle
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2016-06-05 22:11:30 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2016-07-15 12:50:45 +0300
commitc9ceada8cf73b9e5044c05c0fc071ec7b8c13e0a (patch)
treef39cb57233c51492dd1f1d44cdf5b42ce27b6438 /checkstyle
parentb2ee7ba2544aadbfc450efffdb9f0121c6bca7ce (diff)
downloadvaadin-framework-c9ceada8cf73b9e5044c05c0fc071ec7b8c13e0a.tar.gz
vaadin-framework-c9ceada8cf73b9e5044c05c0fc071ec7b8c13e0a.zip
Disable missing Javadoc checks on private members
Change-Id: Ic786692f480c44526762fe7872b1c78751a665aa
Diffstat (limited to 'checkstyle')
-rw-r--r--checkstyle/vaadin-checkstyle.xml24
1 files changed, 14 insertions, 10 deletions
diff --git a/checkstyle/vaadin-checkstyle.xml b/checkstyle/vaadin-checkstyle.xml
index 2979857a87..e55b20b1df 100644
--- a/checkstyle/vaadin-checkstyle.xml
+++ b/checkstyle/vaadin-checkstyle.xml
@@ -18,12 +18,12 @@
to ^[A-Z_]*$ . Others (protected, package and private) still have ^[a-z][a-zA-Z0-9]*$
- Modified the severity of the following Checks from error to info:
• JavadocPackage (checks for package-info.java)
- • JavadocType (class and interface declarations, scope private)
- • JavadocMethod (method declarations, scope private)
- • JavadocVariable (variable declarations, scope private)
+ - Modified the severity of the following Checks from error to warning and the scope from private to protected:
+ • JavadocType (class and interface declarations)
+ • JavadocMethod (method declarations)
+ • JavadocVariable (variable declarations)
• JavadocStyle (Javadocs are "well formed")
- - Modified the severity of the following Checks from error to warning because
- not so critical:
+ - Modified the severity of the following Checks from error to warning because not so critical:
• LineLenght (the default value is 80 which is also used in formatter, but
i.e. member declarations are not wrapped onto next line)
• RedundantModifier (i.e. using public in interface method declarations)
@@ -104,16 +104,20 @@
<!-- Checks for Javadoc comments. -->
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
<module name="JavadocMethod">
- <property name="severity" value="info" />
+ <property name="severity" value="warning" />
+ <property name="scope" value="protected" />
</module>
<module name="JavadocType">
- <property name="severity" value="info" />
- </module>
+ <property name="severity" value="warning" />
+ <property name="scope" value="protected" />
+ </module>
<module name="JavadocVariable">
- <property name="severity" value="info" />
+ <property name="severity" value="warning" />
+ <property name="scope" value="protected" />
</module>
<module name="JavadocStyle">
- <property name="severity" value="info" />
+ <property name="severity" value="warning" />
+ <property name="scope" value="protected" />
</module>
<!-- Checks for Naming Conventions. -->