]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added check for carriage return (#9065) 72/572/2
authorArtur Signell <artur@vaadin.com>
Fri, 4 Jan 2013 09:05:38 +0000 (11:05 +0200)
committerVaadin Code Review <review@vaadin.com>
Mon, 7 Jan 2013 13:39:50 +0000 (13:39 +0000)
Change-Id: I5ab56fb58fb7db2542678845bddf6a7e971fd6ca

checkstyle/vaadin-checkstyle.xml

index 3e23370a23b34aa0db96497fa3c1a81c34a92d68..88ac50c2426e89a929235f265e761b53330322a2 100644 (file)
        <module name="NewlineAtEndOfFile">\r
                <property name="severity" value="warning" />\r
        </module>\r
-\r
+       <module name="RegexpMultiline">\r
+               <property name="message" value="File contains carriage return (Windows newlines)" />\r
+               <property name="format" value="\r"/>\r
+       </module>\r
+    \r
 \r
        <!-- Checks that property files contain the same keys. -->\r
        <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->\r