protected TreeNodeTop findChildByEncodedName(String encodedName, String filePath) { String name = encodedName.substring(7, encodedName.length()); List<TreeNodeImpl> lst = childs.get(name); if (lst != null) { for (TreeNodeImpl node : lst) { TreeNodeTop top = (TreeNodeTop) node; if (top.getName().equals(encodedName) && top.getParentPath().equals(filePath)) { return top; } } } return null; }