diff options
author | Jonatan Kronqvist <jonatan@vaadin.com> | 2014-04-29 09:01:30 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-05-06 06:37:29 +0000 |
commit | 9bf027808d63c2641bfdacfc87e94c2cb4a29f4a (patch) | |
tree | 614fad754b147d52801146f1580ab46703c162f5 /checkstyle/vaadin-checkstyle.xml | |
parent | 0b8545e48796a0922f3a0680aa53e29d70b3cb03 (diff) | |
download | vaadin-framework-9bf027808d63c2641bfdacfc87e94c2cb4a29f4a.tar.gz vaadin-framework-9bf027808d63c2641bfdacfc87e94c2cb4a29f4a.zip |
Ignore irrelevant header lines in checkstyle configuration
* Ignores the empty lines that may have trailing white-space in the
license header. This allows formatting of the license header either
with or without trailing white-space, which differs between different
versions of Eclipse (as well as between IDEs).
Change-Id: If97d2cfe169accd6d05e44521c9ca5265d715772
Diffstat (limited to 'checkstyle/vaadin-checkstyle.xml')
-rw-r--r-- | checkstyle/vaadin-checkstyle.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/checkstyle/vaadin-checkstyle.xml b/checkstyle/vaadin-checkstyle.xml index 1caf480582..9dfe1c9156 100644 --- a/checkstyle/vaadin-checkstyle.xml +++ b/checkstyle/vaadin-checkstyle.xml @@ -90,6 +90,8 @@ <module name="Header"> <property name="headerFile" value="${checkstyle.header.file}" /> <property name="fileExtensions" value="java" /> + <!-- ignore empty lines that may or may not have trailing white-space --> + <property name="ignoreLines" value="3, 7, 9"/> </module> <module name="TreeWalker"> |