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:
@ -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() ));
|
||||
}
|
||||
|
Reference in New Issue
Block a user