forked from phoedos/pmd
added property descriptors & references to them
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4699 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -49,8 +49,8 @@ public class NonThreadSafeSingleton extends AbstractRule {
|
||||
|
||||
public Object visit(ASTCompilationUnit node, Object data) {
|
||||
fieldDecls.clear();
|
||||
checkNonStaticMethods = getBooleanProperty("checkNonStaticMethods");
|
||||
checkNonStaticFields = getBooleanProperty("checkNonStaticFields");
|
||||
checkNonStaticMethods = getBooleanProperty(checkNonStaticMethodsDescriptor);
|
||||
checkNonStaticFields = getBooleanProperty(checkNonStaticFieldsDescriptor);
|
||||
return super.visit(node, data);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user