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