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:
Brian Remedios
2006-10-17 02:37:43 +00:00
parent 1ea1900e09
commit f32e56c7c8

View File

@ -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);
}