Author: scabanovich
Date: 2007-07-26 04:38:36 -0400 (Thu, 26 Jul 2007)
New Revision: 2665
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/model/tree/TLDTree.java
Log:
JBIDE-572
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/model/tree/TLDTree.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/model/tree/TLDTree.java 2007-07-26
08:31:30 UTC (rev 2664)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/model/tree/TLDTree.java 2007-07-26
08:38:36 UTC (rev 2665)
@@ -29,7 +29,7 @@
}
public boolean hasChildren(XModelObject object) {
- return object == root;
+ return object == root || (root != null && object == root.getParent());
}
public XModelObject[] getChildren(XModelObject object) {