You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2021/08/14 12:27:01 UTC

[commons-geometry] 02/02: excluding ConfusingTernary PMD rule

This is an automated email from the ASF dual-hosted git repository.

mattjuntunen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git

commit 2639cc7048187ba67be0ed4efc7bbdcc658ad1f5
Author: Matt Juntunen <ma...@apache.org>
AuthorDate: Sat Aug 14 08:26:45 2021 -0400

    excluding ConfusingTernary PMD rule
---
 src/main/resources/pmd/pmd-ruleset.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/resources/pmd/pmd-ruleset.xml b/src/main/resources/pmd/pmd-ruleset.xml
index 646f63e..96025bd 100644
--- a/src/main/resources/pmd/pmd-ruleset.xml
+++ b/src/main/resources/pmd/pmd-ruleset.xml
@@ -40,6 +40,7 @@
     <exclude name="OnlyOneReturn" />
     <exclude name="UseUnderscoresInNumericLiterals" />
     <exclude name="GenericsNaming" />
+    <exclude name="ConfusingTernary" />
   </rule>
   <rule ref="category/java/design.xml">
     <exclude name="TooManyMethods" />