mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-25351 (diagnostics)
This commit is contained in:
@@ -164,7 +164,7 @@ public class LazyParseableElement extends CompositeElement {
|
||||
}
|
||||
|
||||
if (TreeUtil.getFileElement(this) == null) {
|
||||
LOG.error("Chameleons must not be parsed till they're in file tree");
|
||||
LOG.error("Chameleons must not be parsed till they're in file tree: " + this);
|
||||
}
|
||||
|
||||
ApplicationManager.getApplication().assertReadAccessAllowed();
|
||||
@@ -174,9 +174,9 @@ public class LazyParseableElement extends CompositeElement {
|
||||
|
||||
if (parsedNode == null && myText.length() > 0) {
|
||||
if (ApplicationManagerEx.getApplicationEx().isInternal() && !ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
LOG.error("No parse for a non-empty string: " + myText + "; type=" + getElementType());
|
||||
LOG.error("No parse for a non-empty string: " + myText + "; type=" + type + " (" + type.getClass().getName() + ")");
|
||||
} else {
|
||||
LOG.error("No parse for a non-empty string: type=" + getElementType());
|
||||
LOG.error("No parse for a non-empty string: type=" + type + " (" + type.getClass().getName() + ")");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user