6869707172737475767778
fObjStore.lock(); boolean hasChild; String name = folder.getName(); hasChild = hasChild(name); if (hasChild) { throw new CmisNameConstraintViolationException("Cannot create folder " + name + ". Name already exists in parent folder"); } folder.setParent(this); } finally { fObjStore.unlock(); }