From 64619109e3c23ea06b83bbf6691b7de45bb3680f Mon Sep 17 00:00:00 2001 From: Joe Grandja Date: Fri, 1 May 2020 21:03:16 -0400 Subject: [PATCH] Integrate checkstyle Issue gh-10 --- etc/checkstyle/checkstyle.xml | 51 +++++++++++++++++++++++++++++++++ etc/checkstyle/header.txt | 16 +++++++++++ etc/checkstyle/suppressions.xml | 19 ++++++++++++ 3 files changed, 86 insertions(+) create mode 100644 etc/checkstyle/checkstyle.xml create mode 100644 etc/checkstyle/header.txt create mode 100644 etc/checkstyle/suppressions.xml diff --git a/etc/checkstyle/checkstyle.xml b/etc/checkstyle/checkstyle.xml new file mode 100644 index 0000000..d7b3920 --- /dev/null +++ b/etc/checkstyle/checkstyle.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/checkstyle/header.txt b/etc/checkstyle/header.txt new file mode 100644 index 0000000..5e5d28b --- /dev/null +++ b/etc/checkstyle/header.txt @@ -0,0 +1,16 @@ +^\Q/*\E$ +^\Q * Copyright\E (\d{4}(\-\d{4})? the original author or authors\.|(\d{4}, )*(\d{4}) Acegi Technology Pty Limited)$ +^\Q *\E$ +^\Q * Licensed under the Apache License, Version 2.0 (the "License");\E$ +^\Q * you may not use this file except in compliance with the License.\E$ +^\Q * You may obtain a copy of the License at\E$ +^\Q *\E$ +^\Q * https://www.apache.org/licenses/LICENSE-2.0\E$ +^\Q *\E$ +^\Q * Unless required by applicable law or agreed to in writing, software\E$ +^\Q * distributed under the License is distributed on an "AS IS" BASIS,\E$ +^\Q * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\E$ +^\Q * See the License for the specific language governing permissions and\E$ +^\Q * limitations under the License.\E$ +^\Q */\E$ +^.*$ diff --git a/etc/checkstyle/suppressions.xml b/etc/checkstyle/suppressions.xml new file mode 100644 index 0000000..297f062 --- /dev/null +++ b/etc/checkstyle/suppressions.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + +