mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
more diagnostics for EA-50865 - assert: CachedValueProvider$Result.<init>
This commit is contained in:
@@ -325,7 +325,11 @@ public class XmlNSDescriptorImpl implements XmlNSDescriptorEx,Validator<XmlDocum
|
||||
final CachedValue<XmlAttributeDescriptor> value = CachedValuesManager.getManager(includedDocument.getProject()).createCachedValue(
|
||||
new CachedValueProvider<XmlAttributeDescriptor>(){
|
||||
public Result<XmlAttributeDescriptor> compute() {
|
||||
return new Result<XmlAttributeDescriptor>(attributeDescriptor, attributeDescriptor.getDependences());
|
||||
Object[] deps = attributeDescriptor.getDependences();
|
||||
if (deps.length == 0) {
|
||||
LOG.error(attributeDescriptor + " returned no dependencies");
|
||||
}
|
||||
return new Result<XmlAttributeDescriptor>(attributeDescriptor, deps);
|
||||
}
|
||||
},
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user