[java-identity-provider] 02/02: Use checkstyle.xml from idp-parent
Tom Zeller
tzeller at dragonacea.biz
Fri Nov 15 13:57:37 EST 2019
This is an automated email from the git hooks/post-receive script.
tzeller pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=f9f621c9400dfc82174ef471b9bccc3355388ee7
commit f9f621c9400dfc82174ef471b9bccc3355388ee7
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Fri Nov 15 12:53:35 2019 -0600
Use checkstyle.xml from idp-parent
---
idp-attribute-impl/.checkstyle | 18 +++---
idp-attribute-impl/checkstyle.xml | 116 --------------------------------------
2 files changed, 9 insertions(+), 125 deletions(-)
diff --git a/idp-attribute-impl/.checkstyle b/idp-attribute-impl/.checkstyle
index 5ef9989..4147bd1 100644
--- a/idp-attribute-impl/.checkstyle
+++ b/idp-attribute-impl/.checkstyle
@@ -2,14 +2,14 @@
<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
- <local-check-config name="Shibboleth Checkstyle" location="checkstyle.xml" type="project" description="">
- <additional-data name="cache-file" value="true"/>
- <additional-data name="cache-props-file-location" value="null_1312636288299_cache.properties"/>
- <additional-data name="cache-file-location" value="null_1312636288299_cache.xml"/>
- </local-check-config>
-
- <fileset name="main source" enabled="true" check-config-name="Shibboleth Checkstyle" local="true">
- <file-match-pattern match-pattern="src/main/java/.*\.java$" include-pattern="true"/>
- </fileset>
+ <local-check-config name="Shibboleth Checkstyle" location="/idp-parent/resources/checkstyle/checkstyle.xml" type="project" description="">
+ <additional-data name="cache-file" value="true"/>
+ <additional-data name="cache-props-file-location" value="null_1312636288299_cache.properties"/>
+ <additional-data name="cache-file-location" value="null_1312636288299_cache.xml"/>
+ </local-check-config>
+
+ <fileset name="main source" enabled="true" check-config-name="Shibboleth Checkstyle" local="true">
+ <file-match-pattern match-pattern="src/main/java/.*\.java$" include-pattern="true"/>
+ </fileset>
</fileset-config>
diff --git a/idp-attribute-impl/checkstyle.xml b/idp-attribute-impl/checkstyle.xml
deleted file mode 100644
index 48ae807..0000000
--- a/idp-attribute-impl/checkstyle.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
-
-<!--
- This configuration file was written by the eclipse-cs plugin configuration editor
--->
-<!--
- Checkstyle-Configuration: Shibboleth Checkstyle
- Description: none
--->
-<module name="Checker">
- <property name="severity" value="warning"/>
- <module name="TreeWalker">
- <property name="tabWidth" value="4"/>
- <module name="JavadocMethod">
- <property name="allowThrowsTagsForSubclasses" value="true"/>
- <property name="allowUndeclaredRTE" value="true"/>
- </module>
- <module name="JavadocType">
- <property name="allowUnknownTags" value="true"/>
- </module>
- <module name="JavadocVariable"/>
- <module name="JavadocStyle">
- <property name="checkEmptyJavadoc" value="true"/>
- </module>
- <module name="ConstantName"/>
- <module name="LocalFinalVariableName"/>
- <module name="LocalVariableName"/>
- <module name="MemberName"/>
- <module name="MethodName"/>
- <module name="PackageName"/>
- <module name="ParameterName"/>
- <module name="StaticVariableName"/>
- <module name="TypeName"/>
- <module name="AvoidStarImport"/>
- <module name="IllegalImport"/>
- <module name="RedundantImport"/>
- <module name="UnusedImports"/>
- <module name="LineLength">
- <property name="max" value="120"/>
- </module>
- <module name="MethodLength">
- <property name="max" value="70"/>
- </module>
- <module name="ParameterNumber">
- <property name="max" value="5"/>
- </module>
- <module name="EmptyForIteratorPad"/>
- <module name="MethodParamPad"/>
- <module name="ModifierOrder"/>
- <module name="AvoidNestedBlocks"/>
- <module name="LeftCurly"/>
- <module name="NeedBraces"/>
- <module name="RightCurly"/>
- <module name="EmptyStatement"/>
- <module name="EqualsHashCode"/>
- <module name="HiddenField"/>
- <module name="IllegalInstantiation"/>
- <module name="InnerAssignment"/>
- <module name="MissingSwitchDefault"/>
- <module name="SimplifyBooleanExpression"/>
- <module name="SimplifyBooleanReturn"/>
- <module name="FinalClass"/>
- <module name="HideUtilityClassConstructor"/>
- <module name="VisibilityModifier"/>
- <module name="ArrayTypeStyle"/>
- <module name="UpperEll"/>
- <module name="AnonInnerLength"/>
- <module name="EmptyForInitializerPad"/>
- <module name="CovariantEquals"/>
- <module name="DefaultComesLast"/>
- <module name="DeclarationOrder"/>
- <module name="ExplicitInitialization"/>
- <module name="FallThrough"/>
- <module name="IllegalThrows"/>
- <module name="MultipleVariableDeclarations"/>
- <module name="PackageDeclaration"/>
- <module name="ParameterAssignment"/>
- <module name="ReturnCount">
- <property name="max" value="8"/>
- <property name="maxForVoid" value="8"/>
- </module>
- <module name="StringLiteralEquality"/>
- <module name="SuperFinalize"/>
- <module name="ArrayTrailingComma"/>
- <module name="UnnecessaryParentheses"/>
- <module name="MutableException"/>
- <module name="ThrowsCount">
- <property name="max" value="3"/>
- </module>
- <module name="CyclomaticComplexity"/>
- <module name="TrailingComment"/>
- <module name="EqualsAvoidNull"/>
- <module name="ModifiedControlVariable"/>
- <module name="FinalParameters">
- <property name="tokens" value="METHOD_DEF,CTOR_DEF,LITERAL_CATCH"/>
- </module>
- <module name="FinalLocalVariable">
- <property name="tokens" value="PARAMETER_DEF,VARIABLE_DEF"/>
- <property name="validateEnhancedForLoopVariable" value="true"/>
- </module>
- <module name="SuppressionCommentFilter">
- <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>
- <module name="FileTabCharacter"/>
- <module name="FileLength">
- <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 [...]
- </module>
- <module name="JavadocPackage"/>
-</module>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list