Author: yradtsevich
Date: 2009-10-13 10:47:00 -0400 (Tue, 13 Oct 2009)
New Revision: 18069
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/XModelObjectImpl.java
Log:
minor fix: unnecessary code removed in the XModelObjectImpl
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/XModelObjectImpl.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/XModelObjectImpl.java 2009-10-13
14:31:24 UTC (rev 18068)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/XModelObjectImpl.java 2009-10-13
14:47:00 UTC (rev 18069)
@@ -311,7 +311,7 @@
if(n.equals("..")) me = getParent(); //$NON-NLS-1$
else if(n.equals(".")) me = this; //$NON-NLS-1$
}
- return (me == null || i < 0) ? me : ((XModelObjectImpl)me).getChildByPath(f);
+ return (me == null || i < 0) ? me : me.getChildByPath(f);
}
public XModelObject getChildByPathPart(String pathpart) {
Show replies by date