Skip to content

Commit

Permalink
[RESTEASY-1974] Checkstyle - Trailing spaces - check only java files
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Terem authored and asoldano committed Nov 16, 2018
1 parent 4825903 commit d685f3f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
<property name="eachLine" value="true"/>
</module>

<module name="RegexpSingleline">
<!-- \s matches whitespace character, $ matches end of line. -->
<property name="format" value="\s+$"/>
<property name="message" value="Line has trailing spaces."/>
</module>

<module name="TreeWalker">

<module name="RegexpSinglelineJava">
<!-- \s matches whitespace character, $ matches end of line. -->
<property name="format" value="\s+$"/>
<property name="message" value="Line has trailing spaces."/>
</module>

<property name="cacheFile" value="${checkstyle.cache.file}"/>

<!-- Checks for imports -->
Expand Down Expand Up @@ -104,6 +104,7 @@
<property name="onCommentFormat" value="CHECKSTYLE.ON\: ([\w\|]+)"/>
<property name="checkFormat" value="$1"/>
</module>

</module>

</module>
Expand Down

0 comments on commit d685f3f

Please sign in to comment.