forked from phoedos/pmd
added UnusedPrivateMethodRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@453 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -79,7 +79,7 @@ public class UnusedPrivateMethodRule extends AbstractRule {
|
||||
return super.visit(node, data);
|
||||
}
|
||||
// exclude these serializable things
|
||||
if (node.getImage().equals("readObject") || node.getImage().equals("writeObject")|| node.getImage().equals("readResolve") || node.getImage().equals("writeResolve")) {
|
||||
if (node.getImage().equals("readObject") || node.getImage().equals("writeObject")|| node.getImage().equals("readResolve")) {
|
||||
return super.visit(node, data);
|
||||
}
|
||||
privateMethodNodes.add(node);
|
||||
|
Reference in New Issue
Block a user