aboutsummaryrefslogtreecommitdiff
path: root/config/java_regexp.header
diff options
context:
space:
mode:
authorAndrei Selkin <andreyselkin@gmail.com>2015-07-13 20:23:11 +0300
committerAndrei Selkin <andreyselkin@gmail.com>2015-07-18 12:41:27 +0300
commit6c1b26a8361782c8e7ae9455bd4d68e03bc919f8 (patch)
treef8cb80762cee5bacb185810cbbf9f24dff76e53a /config/java_regexp.header
parente59080b695ecd2f12aa8dce07f40d9a77a98d52b (diff)
downloadcheckstyle-6c1b26a8361782c8e7ae9455bd4d68e03bc919f8.tar.gz
Fix RegexpHeader causing exception with default config, issue #1129.
Diffstat (limited to 'config/java_regexp.header')
-rw-r--r--config/java_regexp.header18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/java_regexp.header b/config/java_regexp.header
new file mode 100644
index 000000000..c481e3ff1
--- /dev/null
+++ b/config/java_regexp.header
@@ -0,0 +1,18 @@
+^/{80}$
+^/{2} checkstyle: Checks Java source code for adherence to a set of rules.$
+^/{2} Copyright \(C\) \d\d\d\d-\d\d\d\d the original author or authors.$
+^/{2}$
+^/{2} This library is free software; you can redistribute it and/or$
+^/{2} modify it under the terms of the GNU Lesser General Public$
+^/{2} License as published by the Free Software Foundation; either$
+^/{2} version \d.\d of the License, or \(at your option\) any later version.$
+^/{2}$
+^/{2} This library is distributed in the hope that it will be useful,$
+^/{2} but WITHOUT ANY WARRANTY; without even the implied warranty of$
+^/{2} MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU$
+^/{2} Lesser General Public License for more details.$
+^/{2}$
+^/{2} You should have received a copy of the GNU Lesser General Public$
+^/{2} License along with this library; if not, write to the Free Software$
+^/{2} Foundation, Inc., \d\d Temple Place, Suite \d\d\d, Boston, MA \d\d\d\d\d-\d\d\d\d USA$
+^/{80}$