mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
DomUtil.checkHasXml: use hasXml() instead of getXmlElement()
This commit is contained in:
@@ -273,7 +273,7 @@ public class DomUtil {
|
||||
}
|
||||
|
||||
private static boolean checkHasXml(XmlElement psi, DomElement dom) {
|
||||
if (dom != null && dom.getXmlElement() == null) {
|
||||
if (dom != null && !hasXml(dom)) {
|
||||
LOG.error("No xml for dom " + dom + "; attr=" + psi + ", physical=" + psi.isPhysical());
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user