summaryrefslogtreecommitdiffstats
path: root/checkstyle/vaadin-checkstyle.xml
diff options
context:
space:
mode:
authorHenrik Paul <henrik@vaadin.com>2014-04-03 15:31:46 +0300
committerVaadin Code Review <review@vaadin.com>2014-04-03 16:54:10 +0000
commitf531044ffbc23816a98e4216f5c602802c485219 (patch)
tree2cd214596431faf48d759430da84a2c13ea807f3 /checkstyle/vaadin-checkstyle.xml
parenta6c725ca0490b8d42c3468bd9a49ef49571cb59f (diff)
downloadvaadin-framework-f531044ffbc23816a98e4216f5c602802c485219.tar.gz
vaadin-framework-f531044ffbc23816a98e4216f5c602802c485219.zip
Make Checkstyle align better with the Eclipse formatting (#13541)
Change-Id: I9f48b0da3484666a73efc517651f6920301d9c04
Diffstat (limited to 'checkstyle/vaadin-checkstyle.xml')
-rw-r--r--checkstyle/vaadin-checkstyle.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/checkstyle/vaadin-checkstyle.xml b/checkstyle/vaadin-checkstyle.xml
index ca572fe1a5..1caf480582 100644
--- a/checkstyle/vaadin-checkstyle.xml
+++ b/checkstyle/vaadin-checkstyle.xml
@@ -150,9 +150,11 @@
<!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html -->
+ <!--
<module name="LineLength">
<property name="severity" value="warning" />
</module>
+ -->
<module name="MethodLength">
<property name="severity" value="warning" />
</module>
@@ -166,7 +168,9 @@
<module name="EmptyForIteratorPad" />
<module name="GenericWhitespace" />
<module name="MethodParamPad" />
- <module name="NoWhitespaceAfter" />
+ <module name="NoWhitespaceAfter">
+ <property name="tokens" value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS,TYPECAST"/>
+ </module>
<module name="NoWhitespaceBefore" />
<module name="OperatorWrap" />
<module name="ParenPad" />
@@ -188,9 +192,11 @@
<!-- Modifier Checks -->
<!-- See http://checkstyle.sf.net/config_modifiers.html -->
<module name="ModifierOrder" />
+ <!--
<module name="RedundantModifier">
<property name="severity" value="warning" />
</module>
+ -->
<!-- Checks for blocks. You know, those {}'s -->
@@ -211,11 +217,13 @@
</module>
<module name="EmptyStatement" />
<module name="EqualsHashCode" />
+ <!--
<module name="HiddenField">
<property name="ignoreConstructorParameter" value="true" />
<property name="ignoreSetter" value="true" />
<property name="ignoreAbstractMethods" value="true" />
</module>
+ -->
<module name="IllegalInstantiation" />
<module name="InnerAssignment" />
<module name="MagicNumber">