[
https://issues.apache.org/jira/browse/KNOX-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Risden updated KNOX-1667:
-------------------------------
Attachment: KNOX-1667.patch
Status: Patch Available (was: In Progress)
Enables error prone ruleset minus the following rules
<exclude name="AssignmentInOperand" />
<exclude name="AssignmentToNonFinalStatic" />
<exclude name="AvoidBranchingStatementAsLastInLoop" />
<exclude name="AvoidCatchingNPE" />
<exclude name="AvoidCatchingThrowable" />
<exclude name="AvoidDuplicateLiterals" />
<exclude name="AvoidFieldNameMatchingMethodName" />
<exclude name="AvoidLiteralsInIfCondition" />
<exclude name="BeanMembersShouldSerialize" />
<exclude name="ConstructorCallsOverridableMethod" />
<exclude name="DataflowAnomalyAnalysis" />
<exclude name="DoNotCallSystemExit" />
<exclude name="EmptyCatchBlock" />
<exclude name="EmptyIfStmt" />
<exclude name="LoggerIsNotStaticFinal" />
<exclude name="MissingBreakInSwitch" />
<exclude name="MissingSerialVersionUID" />
<exclude name="MoreThanOneLogger" />
<exclude name="NullAssignment" />
<exclude name="ReturnEmptyArrayRatherThanNull" />
<exclude name="UseProperClassLoader" />
> Enable PMD error prone ruleset
> ------------------------------
>
> Key: KNOX-1667
> URL: https://issues.apache.org/jira/browse/KNOX-1667
> Project: Apache Knox
> Issue Type: Sub-task
> Components: Build
> Reporter: Kevin Risden
> Assignee: Kevin Risden
> Priority: Major
> Fix For: 1.3.0
>
> Attachments: KNOX-1667.patch
>
>
> PMD error prone ruleset has a bunch of rules that could be useful
> https://pmd.github.io/pmd-6.9.0/pmd_rules_java_errorprone.html
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)