From f8c66568a2965867d42eac4503763a3be3e1c3f5 Mon Sep 17 00:00:00 2001 From: Xavier Le Vourch Date: Wed, 24 Oct 2007 15:36:26 +0000 Subject: [PATCH] Fixed bug 1811506 - False - : UnusedFormalParameter (property checkall needs to be set) git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5571 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/etc/changelog.txt | 1 + .../pmd/rules/unusedcode/xml/UnusedFormalParameter.xml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pmd/etc/changelog.txt b/pmd/etc/changelog.txt index c269187d7d..c9167617fc 100644 --- a/pmd/etc/changelog.txt +++ b/pmd/etc/changelog.txt @@ -20,6 +20,7 @@ Fixed bug 1702782 - fixed false positive in UselessOperationOnImmutable when an Fixed bugs 1764288/1744069/1744071 - When using Type Resolution all junit test cases will notice if you're using an extended TestCase Fixed bug 1793215 - pmd-nicerhtml.xsl does not display line numbers Fixes bug 1796928 - fixed false positive in AvoidThrowingRawExceptionTypes, when a Type name is the same as a RawException. +Fixed bug 1811506 - False - : UnusedFormalParameter (property "checkall" needs to be set) Fixed false negative in UnnecessaryCaseChange The Java 1.5 source code parser is now the default for testcode used in PMD's unit tests. diff --git a/pmd/regress/test/net/sourceforge/pmd/rules/unusedcode/xml/UnusedFormalParameter.xml b/pmd/regress/test/net/sourceforge/pmd/rules/unusedcode/xml/UnusedFormalParameter.xml index 2fccdba176..a01f1792b0 100644 --- a/pmd/regress/test/net/sourceforge/pmd/rules/unusedcode/xml/UnusedFormalParameter.xml +++ b/pmd/regress/test/net/sourceforge/pmd/rules/unusedcode/xml/UnusedFormalParameter.xml @@ -158,12 +158,13 @@ class Foo { } ]]> - + + true 1