Skip to content

Commit a9468ee

Browse files
committed
moved to src/main/config/
1 parent 29097dd commit a9468ee

File tree

2 files changed

+40
-5
lines changed

2 files changed

+40
-5
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
^// Copyright \(c\) 201[2-9] (Jeff Ichnowski|Jim Manico|Jeremy Long)\s*$
2+
^// All rights reserved\.\s*$
3+
^//
4+
^// Redistribution and use in source and binary forms, with or without\s*$
5+
^// modification, are permitted provided that the following conditions\s*$
6+
^// are met:\s*$
7+
^//\s*$
8+
^// \* Redistributions of source code must retain the above\s*$
9+
^// copyright notice, this list of conditions and the following\s*$
10+
^// disclaimer\.\s*$
11+
^//
12+
^// \* Redistributions in binary form must reproduce the above\s*$
13+
^// copyright notice, this list of conditions and the following\s*$
14+
^// disclaimer in the documentation and/or other materials\s*$
15+
^// provided with the distribution.\s*$
16+
^//
17+
^// \* Neither the name of the OWASP nor the names of its\s*$
18+
^// contributors may be used to endorse or promote products\s*$
19+
^// derived from this software without specific prior written\s*$
20+
^// permission\.\s*$
21+
^//
22+
^// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\s*$
23+
^// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\s*$
24+
^// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\s*$
25+
^// FOR A PARTICULAR PURPOSE ARE DISCLAIMED\. IN NO EVENT SHALL THE\s*$
26+
^// COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\s*$
27+
^// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\s*$
28+
^// \(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\s*$
29+
^// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION\)\s*$
30+
^// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\s*$
31+
^// STRICT LIABILITY, OR TORT \(INCLUDING NEGLIGENCE OR OTHERWISE\)\s*$
32+
^// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\s*$
33+
^// OF THE POSSIBILITY OF SUCH DAMAGE\.\s*$
34+
^\s*$
35+
^package
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020
<property name="message" value="Line has trailing spaces."/>
2121
</module>
2222

23-
<module name="Header">
24-
<property name="headerFile" value="${basedir}/COPYING"/>
25-
<property name="charset" value="US-ASCII"/>
26-
</module>
23+
<module name="RegexpHeader">
24+
<property name="headerFile" value="${checkstyle.header.file}"/>
25+
<property name="fileExtensions" value="java"/>
26+
<property name="id" value="header"/>
27+
</module>
2728

2829
<module name="TreeWalker">
2930

@@ -122,7 +123,6 @@
122123
<!-- See http://checkstyle.sf.net/config_coding.html -->
123124
<!-- <module name="AvoidInlineConditionals"/> -->
124125
<module name="CovariantEquals"/>
125-
<module name="DoubleCheckedLocking"/>
126126
<module name="EmptyStatement"/>
127127
<module name="EqualsAvoidNull"/>
128128
<module name="EqualsHashCode"/>

0 commit comments

Comments
 (0)