bugfix - how did I miss this one? urgh

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7304 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Brian Remedios
2011-09-23 05:02:26 +00:00
parent 225332e8f1
commit 2c900f6605

View File

@ -78,7 +78,7 @@ public abstract class AbstractPropertySource {
public boolean hasDescriptor(PropertyDescriptor<?> descriptor) {
if (propertyValuesByDescriptor.isEmpty()) {
getPropertiesByPropertyDescriptor(); // compute it
propertyValuesByDescriptor = getPropertiesByPropertyDescriptor();
}
return propertyValuesByDescriptor.containsKey(descriptor);