From ed2d166a34e2a0a4796f7bfc15ba1e2cc44fa3f4 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 13 Mar 2021 14:15:50 +0000 Subject: [PATCH] Remove deprecated rules and some codestyle rules (#23) * Disable some rules * Raise max method count to 20 * Update Changelog * Remove deprecated rules * Version set to 1.2.0 --- CHANGELOG.org | 18 ++++++++++++++++++ pom.xml | 2 +- src/main/resources/net/kemitix/pmd/java.xml | 19 +++++-------------- 3 files changed, 24 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.org b/CHANGELOG.org index 5fc7f5a..23ce383 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -6,6 +6,24 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +* 1.2.0 + +** Changed + + * TooManyMethods - threshold raised from 10 to 20 + +** Removed + + - PositionLiteralsFirstInCaseInsensitiveComparisons + - PositionLiteralsFirstInComparisons + - DataflowAnomalyAnalysis + - CommentDefaultAccessModifier + - DefaultPackage + - OnlyOneReturn + - ShortClassName + - ShortMethodName + - ShortVariable + * 1.1.0 ** Changed diff --git a/pom.xml b/pom.xml index d60fe0c..ff4becc 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ kemitix-pmd-ruleset - DEV-SNAPSHOT + 1.2.0 Kemitix PMD Ruleset Kemitix PMD Ruleset for Java diff --git a/src/main/resources/net/kemitix/pmd/java.xml b/src/main/resources/net/kemitix/pmd/java.xml index 37534e2..d28521a 100644 --- a/src/main/resources/net/kemitix/pmd/java.xml +++ b/src/main/resources/net/kemitix/pmd/java.xml @@ -41,8 +41,6 @@ http://pmd.sourceforge.net/ruleset/2.0.0 "> - - @@ -80,9 +78,7 @@ http://pmd.sourceforge.net/ruleset/2.0.0 "> - - @@ -102,12 +98,8 @@ http://pmd.sourceforge.net/ruleset/2.0.0 "> - - - - @@ -178,7 +170,11 @@ http://pmd.sourceforge.net/ruleset/2.0.0 "> - + + + + + @@ -230,11 +226,6 @@ http://pmd.sourceforge.net/ruleset/2.0.0 "> - - - - -