[ 
https://issues.apache.org/jira/browse/KNOX-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16715650#comment-16715650
 ] 

Kevin Risden commented on KNOX-1666:
------------------------------------

Enables best practices minus the following rules:

        <exclude name="AbstractClassWithoutAbstractMethod" />
        <exclude name="AccessorMethodGeneration" />
        <exclude name="ArrayIsStoredDirectly" />
        <exclude name="AvoidPrintStackTrace" />
        <exclude name="AvoidReassigningParameters" />
        <exclude name="AvoidStringBufferField" />
        <exclude name="AvoidUsingHardCodedIP" />
        <exclude name="ConstantsInInterface" />
        <exclude name="GuardLogStatement" />
        <exclude name="MethodReturnsInternalArray" />
        <exclude name="OneDeclarationPerLine" />
        <exclude name="PreserveStackTrace" />
        <exclude name="ReplaceEnumerationWithIterator" />
        <exclude name="ReplaceHashtableWithMap" />
        <exclude name="SwitchStmtsShouldHaveDefault" />
        <exclude name="SystemPrintln" />
        <exclude name="UseVarargs" />

> Enable PMD best practices ruleset
> ---------------------------------
>
>                 Key: KNOX-1666
>                 URL: https://issues.apache.org/jira/browse/KNOX-1666
>             Project: Apache Knox
>          Issue Type: Sub-task
>          Components: Build
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Major
>             Fix For: 1.3.0
>
>         Attachments: KNOX-1666.patch
>
>
> PMD best practices ruleset has a bunch of good rules to look at.
> https://pmd.github.io/pmd-6.9.0/pmd_rules_java_bestpractices.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to