[java-oidc-common] branch main updated: Updated checkstyle config.
Scott Cantor
cantor.2 at osu.edu
Tue Oct 3 14:11:49 UTC 2023
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-oidc-common.
View the commit online:
http://git.shibboleth.net/view/?p=java-oidc-common.git;a=commit;h=acf4369e834ea049f02059ce07b794de7fb26c5b
The following commit(s) were added to refs/heads/main by this push:
new acf4369 Updated checkstyle config.
acf4369 is described below
commit acf4369e834ea049f02059ce07b794de7fb26c5b
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Oct 3 10:11:46 2023 -0400
Updated checkstyle config.
---
resources/checkstyle/checkstyle.xml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/resources/checkstyle/checkstyle.xml b/resources/checkstyle/checkstyle.xml
index 50f9490..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,8 +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="fileExtensions" value="java"/>
+ <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