Took out System.err.println's . . .

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@132 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
David Dixon-Peugh
2002-06-28 17:47:35 +00:00
parent c4460be0e5
commit 225ccd005a

View File

@ -19,7 +19,6 @@ public class UseSingletonRule
}
public Object visit( ASTMethodDeclaration decl, Object data ) {
System.err.println("Visiting Method Declaration.");
if (isOK) return data;
if (!decl.isStatic()) {
@ -30,14 +29,10 @@ public class UseSingletonRule
}
public Object visit( ASTCompilationUnit cu, Object data ) {
System.err.println("Visiting Compilation Unit.");
Object RC = cu.childrenAccept( this, data );
System.err.println("Finished visiting CU.");
if (!isOK) {
System.err.println("All methods are static.");
(((RuleContext) data).getReport()).
addRuleViolation( new RuleViolation( this, cu.getBeginLine() ));
}