Community
Participate
Working Groups
IPath parent = key.removeLastSegments(1);
try {
tree.createChild(parent, key.lastSegment(), data);
tree.createChild(parent, new String(key.lastSegment()), data);
} catch (ObjectNotFoundException e) {
elementNotFound(parent);
}