From 2091b36be3135596d320398e8a52e62de1356289 Mon Sep 17 00:00:00 2001 From: Romain Pelisse Date: Fri, 19 Oct 2007 09:10:14 +0000 Subject: [PATCH] Adding new test case to validate a new features in CloseResourceRule git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5559 51baf565-9d33-0410-a72c-fc3788e3496d --- .../pmd/rules/design/xml/CloseResource.xml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/pmd/regress/test/net/sourceforge/pmd/rules/design/xml/CloseResource.xml b/pmd/regress/test/net/sourceforge/pmd/rules/design/xml/CloseResource.xml index 15bb9f8d5a..16cacc6ecb 100644 --- a/pmd/regress/test/net/sourceforge/pmd/rules/design/xml/CloseResource.xml +++ b/pmd/regress/test/net/sourceforge/pmd/rules/design/xml/CloseResource.xml @@ -147,4 +147,37 @@ public class Foo { } ]]> + + + commit,close,close,close + DAOTransaction,Connection,Statement,ResulSet + 2 + + + \ No newline at end of file