From 9e0de88bc22d1766e77cfc8378b06536dd6f4e33 Mon Sep 17 00:00:00 2001 From: Romain Pelisse Date: Sun, 8 Feb 2009 21:56:58 +0000 Subject: [PATCH] Adding testcase to reproduce bug 2027626 : 'False + : AvoidFinalLocalVariable' git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@6823 51baf565-9d33-0410-a72c-fc3788e3496d --- .../xml/AvoidFinalLocalVariable.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pmd/regress/test/net/sourceforge/pmd/rules/controversial/xml/AvoidFinalLocalVariable.xml b/pmd/regress/test/net/sourceforge/pmd/rules/controversial/xml/AvoidFinalLocalVariable.xml index c339f1aa01..4581b12df5 100644 --- a/pmd/regress/test/net/sourceforge/pmd/rules/controversial/xml/AvoidFinalLocalVariable.xml +++ b/pmd/regress/test/net/sourceforge/pmd/rules/controversial/xml/AvoidFinalLocalVariable.xml @@ -32,6 +32,22 @@ public final class MyClass { public final void foo() { String finalLocalVariable; } +} + ]]> + + + + 1 + +