oops, NPE in previous commit...

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@6751 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch 2008-12-11 07:25:27 +00:00
parent aea7c89175
commit 3f719b9b0f

View File

@ -28,7 +28,7 @@ public class UseSingleton extends AbstractRule {
while (i > 0) {
Node n = decl.jjtGetChild(--i);
if (n.jjtGetNumChildren() != 1) {
break;
continue;
}
n = n.jjtGetChild(0);
if (n instanceof ASTFieldDeclaration) {