boolean (Entry e, String name) { Entry found = findChild(name); if (found == null) return true; if (found == e) return false; removeChild(found); LocalHistoryLog.LOG.warn(String.format("entry '%s' already exists in '%s'", name, getPath())); return true; }