forked from phoedos/pmd
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:
parent
aea7c89175
commit
3f719b9b0f
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user