From 5cc35ed1fc04eae8d2fa96ddc963919f08859e76 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 11 Nov 2018 15:53:23 +0000 Subject: [PATCH] Remove rules marked as deprecated in PMD (#12) * Remove rules marked as deprecated in PMD The following rules are marked as deprecated in PMD and will be removed in PMD 7.0: * AbstractNaming * ForLoopsMustUseBraces * IfElseStmtsMustUseBraces * IfStmtsMustUseBraces * WhileLoopsMustUseBraces Also, reformat CHANGELOG as org-mode format. --- CHANGELOG | 39 ---------------- CHANGELOG.org | 51 +++++++++++++++++++++ src/main/resources/net/kemitix/pmd/java.xml | 9 ---- 3 files changed, 51 insertions(+), 48 deletions(-) delete mode 100644 CHANGELOG create mode 100644 CHANGELOG.org diff --git a/CHANGELOG b/CHANGELOG deleted file mode 100644 index 03cc55e..0000000 --- a/CHANGELOG +++ /dev/null @@ -1,39 +0,0 @@ -CHANGELOG -========= - -0.4.1 ------ - -* Bump kemitix-parent from 5.1.1 to 5.2.0 (#10) - -0.4.0 ------ - -* Requires PMD 6.7.0 -* The new Java rule FieldNamingConventions (java-codestyle) -* The new Java rule LinguisticNaming (java-codestyle) -* Remove deprecated rule VariableNamingConventions -* Remove deprecated rule SuspiciousConstantFieldName - -0.3.0 ------ - -* Upgrade `kemitix-parent` to 5.1.1 -* Remove unused tiles -* Disable PMD check `LawOfDemeter` due to Java Streams giving false positives - -0.2.1 ------ - -* Upgrade `kemitix-parent` to 5.1.0 - -0.2.0 ------ - -* Disable `CommentSize` - didn't agree with MIT License headers -* Relaxed `AvoidDuplicateLiterals.maxDuplicateLiterals` - value is when to fail, not the max allowed - -0.1.0 ------ - -* Initial release diff --git a/CHANGELOG.org b/CHANGELOG.org new file mode 100644 index 0000000..e097fce --- /dev/null +++ b/CHANGELOG.org @@ -0,0 +1,51 @@ +* CHANGELOG + + All notable changes to this project will be documented in this file. + + The format is based on [Keep a + Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to + [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +** 1.0.0 - 2018-11-11 + +*** Removed + + The following rules are marked as deprecated in PMD and will be removed in + PMD 7.0: + + * AbstractNaming + * ForLoopsMustUseBraces + * IfElseStmtsMustUseBraces + * IfStmtsMustUseBraces + * WhileLoopsMustUseBraces + +*** Dependencies + + * Bump kemitix-parent from 5.1.1 to 5.2.0 + +** 0.4.0 + + * Requires PMD 6.7.0 + * The new Java rule FieldNamingConventions (java-codestyle) + * The new Java rule LinguisticNaming (java-codestyle) + * Remove deprecated rule VariableNamingConventions + * Remove deprecated rule SuspiciousConstantFieldName + +** 0.3.0 + + * Upgrade `kemitix-parent` to 5.1.1 + * Remove unused tiles + * Disable PMD check `LawOfDemeter` due to Java Streams giving false positives + +** 0.2.1 + + * Upgrade `kemitix-parent` to 5.1.0 + +** 0.2.0 + + * Disable `CommentSize` - didn't agree with MIT License headers + * Relaxed `AvoidDuplicateLiterals.maxDuplicateLiterals` - value is when to fail, not the max allowed + +** 0.1.0 + + * Initial release diff --git a/src/main/resources/net/kemitix/pmd/java.xml b/src/main/resources/net/kemitix/pmd/java.xml index c0cb36a..65e0a31 100644 --- a/src/main/resources/net/kemitix/pmd/java.xml +++ b/src/main/resources/net/kemitix/pmd/java.xml @@ -69,11 +69,6 @@ http://pmd.sourceforge.net/ruleset/2.0.0 "> - - - - - @@ -100,10 +95,7 @@ http://pmd.sourceforge.net/ruleset/2.0.0 "> - - - @@ -124,7 +116,6 @@ http://pmd.sourceforge.net/ruleset/2.0.0 "> -