if (errorNum == Constants.Errors.CKFINDER_CONNECTOR_ERROR_NONE) {
createNewFolderElement(rootElement);
}
}
private void createNewFolderElement(Element rootElement) {
<BUG>Element element = creator.getDocument().createElement("NewFolder");
</BUG>
element.setAttribute("name", this.newFolderName);
rootElement.appendChild(element);
}

if (errorNum == Constants.Errors.CKFINDER_CONNECTOR_ERROR_NONE) {
createNewFolderElement(rootElement);
}
}
private void createNewFolderElement(Element rootElement) {
Element element = getCreator().getDocument().createElement("NewFolder");
element.setAttribute("name", this.newFolderName);
rootElement.appendChild(element);
}
