[java-idp-oidc] branch main updated: Update checkstyle.

Scott Cantor cantor.2 at osu.edu
Tue Aug 1 17:33:33 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-oidc.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=b302b3b85dcfe1b3ce828653b091e696588869b1

The following commit(s) were added to refs/heads/main by this push:
     new b302b3b8 Update checkstyle.
b302b3b8 is described below

commit b302b3b85dcfe1b3ce828653b091e696588869b1
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Aug 1 13:33:28 2023 -0400

    Update checkstyle.
---
 resources/checkstyle.xml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/resources/checkstyle.xml b/resources/checkstyle.xml
index e3f12038..f456c139 100644
--- a/resources/checkstyle.xml
+++ b/resources/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,15 +113,10 @@
     <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">
     <property name="max" value="120"/>
   </module>
-  <module name="SuppressionFilter">
-    <property name="file" value="resources/checkstyle-suppressions.xml"/>
-    <property name="optional" value="false"/>
-  </module>
 </module>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list