Committed by
Gerrit Code Review
Fix files with windows line endings + Add checkstyle rule to catch this issue
Change-Id: Ic1905f2121c5c2ab66259f7f531c1e36fe58e9d4
Showing
39 changed files
with
6 additions
and
0 deletions
| ... | @@ -94,6 +94,12 @@ | ... | @@ -94,6 +94,12 @@ |
| 94 | <property name="message" value="Line has trailing spaces."/> | 94 | <property name="message" value="Line has trailing spaces."/> |
| 95 | </module> | 95 | </module> |
| 96 | 96 | ||
| 97 | + <module name="RegexpMultiline"> | ||
| 98 | + <property name="format" value="\r\n"/> | ||
| 99 | + <property name="maximum" value="0"/> | ||
| 100 | + <property name="message" value="Line has windows line endings."/> | ||
| 101 | + </module> | ||
| 102 | + | ||
| 97 | <!-- Checks for Headers --> | 103 | <!-- Checks for Headers --> |
| 98 | <!-- See http://checkstyle.sf.net/config_header.html --> | 104 | <!-- See http://checkstyle.sf.net/config_header.html --> |
| 99 | <!-- <module name="Header"> --> | 105 | <!-- <module name="Header"> --> | ... | ... |
-
Please register or login to post a comment