From 279ce698fa3c460a9186e5e5227c241484ab474b Mon Sep 17 00:00:00 2001 From: Romain Pelisse Date: Fri, 19 Oct 2007 09:12:59 +0000 Subject: [PATCH] Adding some code changes by Pierre Mathieu to detect more cases of badly closed resources. git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5560 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/src/net/sourceforge/pmd/rules/CloseResource.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pmd/src/net/sourceforge/pmd/rules/CloseResource.java b/pmd/src/net/sourceforge/pmd/rules/CloseResource.java index 1402ee58cc..ea499c3ad7 100644 --- a/pmd/src/net/sourceforge/pmd/rules/CloseResource.java +++ b/pmd/src/net/sourceforge/pmd/rules/CloseResource.java @@ -35,6 +35,9 @@ import java.util.StringTokenizer; * } finally { * c.close(); * } + * + * @author original author unknown + * @author Contribution from Pierre Mathien * */ public class CloseResource extends AbstractRule {