From d20f8f22918df3930ec74cd621b764e6862bde2a Mon Sep 17 00:00:00 2001 From: Romain Pelisse Date: Thu, 29 Jan 2009 13:21:34 +0000 Subject: [PATCH] Test case to reproduce [1622281 ] Loop scoping dodgy git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@6809 51baf565-9d33-0410-a72c-fc3788e3496d --- .../xml/AvoidInstantiatingObjectsInLoops.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pmd/regress/test/net/sourceforge/pmd/rules/optimizations/xml/AvoidInstantiatingObjectsInLoops.xml b/pmd/regress/test/net/sourceforge/pmd/rules/optimizations/xml/AvoidInstantiatingObjectsInLoops.xml index 8d3d1a0554..b7f3ced866 100644 --- a/pmd/regress/test/net/sourceforge/pmd/rules/optimizations/xml/AvoidInstantiatingObjectsInLoops.xml +++ b/pmd/regress/test/net/sourceforge/pmd/rules/optimizations/xml/AvoidInstantiatingObjectsInLoops.xml @@ -127,4 +127,17 @@ public class Foo { } ]]> + + + 0 + + + + \ No newline at end of file