代码拉取完成,页面将自动刷新
同步操作将从 Nepxion/Discovery 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?xml version="1.0"?>
<ruleset name="Custom ruleset"
xmlns="http://pmd.sf.net/ruleset/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
<description>
Exclude noisy rules.
</description>
<rule ref="rulesets/internal/all-java.xml">
<exclude name="AbstractNaming"/>
<exclude name="AddEmptyString"/>
<exclude name="AppendCharacterWithChar"/>
<exclude name="ArrayIsStoredDirectly"/>
<exclude name="AssignmentInOperand"/>
<exclude name="AtLeastOneConstructor"/>
<exclude name="AvoidCatchingGenericException"/>
<exclude name="AvoidDuplicateLiterals"/>
<exclude name="AvoidFieldNameMatchingMethodName"/>
<exclude name="AvoidFinalLocalVariable"/>
<exclude name="AvoidInstantiatingObjectsInLoops"/>
<exclude name="AvoidLiteralsInIfCondition"/>
<exclude name="AvoidPrefixingMethodParameters"/>
<exclude name="AvoidSynchronizedAtMethodLevel"/>
<exclude name="AvoidThrowingNullPointerException"/>
<exclude name="AvoidThrowingRawExceptionTypes"/>
<exclude name="AvoidUsingShortType"/>
<exclude name="BeanMembersShouldSerialize"/>
<exclude name="CallSuperInConstructor"/>
<exclude name="CommentRequired"/>
<exclude name="CommentSize"/>
<exclude name="CompareObjectsWithEquals"/>
<exclude name="ConfusingTernary"/>
<exclude name="CyclomaticComplexity"/>
<exclude name="DataflowAnomalyAnalysis"/>
<exclude name="DefaultPackage"/>
<exclude name="DoNotUseThreads"/>
<exclude name="DuplicateImports"/>
<exclude name="EmptyMethodInAbstractClassShouldBeAbstract"/>
<exclude name="ExcessiveImports"/>
<exclude name="ExcessivePublicCount"/>
<exclude name="FieldDeclarationsShouldBeAtStartOfClass"/>
<exclude name="ForLoopsMustUseBraces"/>
<exclude name="GodClass"/>
<exclude name="GuardDebugLogging"/>
<exclude name="GuardLogStatement"/>
<exclude name="GuardLogStatementJavaUtil"/>
<exclude name="IfStmtsMustUseBraces"/>
<exclude name="ImmutableField"/>
<exclude name="LawOfDemeter"/>
<exclude name="LocalVariableCouldBeFinal"/>
<exclude name="LoggerIsNotStaticFinal"/>
<exclude name="LongVariable"/>
<exclude name="LoosePackageCoupling"/>
<exclude name="MethodArgumentCouldBeFinal"/>
<exclude name="MethodReturnsInternalArray"/>
<exclude name="ModifiedCyclomaticComplexity"/>
<exclude name="NullAssignment"/>
<exclude name="OneDeclarationPerLine"/>
<exclude name="OnlyOneReturn"/>
<exclude name="PositionLiteralsFirstInComparisons"/>
<exclude name="PrematureDeclaration"/>
<exclude name="PreserveStackTrace"/>
<exclude name="RedundantFieldInitializer"/>
<exclude name="SignatureDeclareThrowsException"/>
<exclude name="SimpleDateFormatNeedsLocale"/>
<exclude name="SimplifyConditional"/>
<exclude name="ShortClassName"/>
<exclude name="ShortMethodName"/>
<exclude name="ShortMethodName"/>
<exclude name="ShortVariable"/>
<exclude name="StdCyclomaticComplexity"/>
<exclude name="TooManyFields"/>
<exclude name="TooManyMethods"/>
<exclude name="TooManyStaticImports"/>
<exclude name="UncommentedEmptyConstructor"/>
<exclude name="UncommentedEmptyMethodBody"/>
<exclude name="UnusedPrivateMethod"/>
<exclude name="UnnecessaryConstructor"/>
<exclude name="UnnecessaryLocalBeforeReturn"/>
<exclude name="UnnecessaryParentheses"/>
<exclude name="UseConcurrentHashMap"/>
<exclude name="UseCorrectExceptionLogging"/>
<exclude name="UseIndexOfChar"/>
<exclude name="UselessParentheses"/>
<exclude name="UseObjectForClearerAPI"/>
<exclude name="UseStringBufferForStringAppends"/>
<exclude name="UseUtilityClass"/>
<exclude name="UseVarargs"/>
<exclude name="ClassNamingConventions"/>
</rule>
<rule ref="rulesets/java/empty.xml/EmptyCatchBlock">
<properties>
<property name="allowCommentedBlocks" value="true"/>
</properties>
</rule>
</ruleset>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。