mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
conditional trace
This commit is contained in:
@@ -470,9 +470,11 @@ public class XmlTagImpl extends XmlElementImpl implements XmlTag {
|
||||
XmlElementDescriptor elementDescriptor = null;
|
||||
final XmlNSDescriptor nsDescriptor = getNSDescriptor(namespace, false);
|
||||
|
||||
LOG.debug(
|
||||
"Descriptor for namespace " + namespace + " is " + (nsDescriptor != null ? nsDescriptor.getClass().getCanonicalName() : "NULL"));
|
||||
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug(
|
||||
"Descriptor for namespace " + namespace + " is " + (nsDescriptor != null ? nsDescriptor.getClass().getCanonicalName() : "NULL"));
|
||||
}
|
||||
|
||||
if (nsDescriptor != null) {
|
||||
if (!DumbService.getInstance(getProject()).isDumb() || DumbService.isDumbAware(nsDescriptor)) {
|
||||
elementDescriptor = nsDescriptor.getElementDescriptor(this);
|
||||
|
||||
Reference in New Issue
Block a user