[java-idp-plugin-duo] branch main updated: Update checkstyle rules.
Scott Cantor
cantor.2 at osu.edu
Mon Aug 28 15:06:45 UTC 2023
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-idp-plugin-duo.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-duo.git;a=commit;h=4c9a1da921b7f4e61b2808bd67bbddc6bb867ca2
The following commit(s) were added to refs/heads/main by this push:
new 4c9a1da Update checkstyle rules.
4c9a1da is described below
commit 4c9a1da921b7f4e61b2808bd67bbddc6bb867ca2
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Aug 28 11:06:40 2023 -0400
Update checkstyle rules.
---
resources/checkstyle/checkstyle.xml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/resources/checkstyle/checkstyle.xml b/resources/checkstyle/checkstyle.xml
index f3f13f6..f456c13 100644
--- a/resources/checkstyle/checkstyle.xml
+++ b/resources/checkstyle/checkstyle.xml
@@ -10,6 +10,11 @@
-->
<module name="Checker">
<property name="severity" value="warning"/>
+ <module name="SuppressWithPlainTextCommentFilter">
+ <property name="offCommentFormat" value="\bCheck[Ss]tyle:\s*([\w|]+)\s+OFF\b"/>
+ <property name="onCommentFormat" value="\bCheck[Ss]tyle:\s*([\w|]+)\s+ON\b"/>
+ <property name="checkFormat" value="$1"/>
+ </module>
<module name="TreeWalker">
<property name="tabWidth" value="4"/>
<module name="JavadocMethod"/>
@@ -108,7 +113,7 @@
<property name="max" value="1000"/>
</module>
<module name="Header">
- <property name="header" value="/*\n * Licensed to the University Corporation for Advanced Internet Development,\n * Inc. (UCAID) under one or more contributor license agreements. See the\n * NOTICE file distributed with this work for additional information regarding\n * copyright ownership. The UCAID licenses this file to You under the Apache\n * License, Version 2.0 (the "License"); you may not use this file except in\n * compliance with the License. You may obtain a cop [...]
+ <property name="header" value="/*\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, eit [...]
</module>
<module name="JavadocPackage"/>
<module name="LineLength">
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list