forked from phoedos/pmd
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user