}
<BUG>if (!FileUtils.checkFolderName(this.newFolderName, configuration)) {
</BUG>
return Constants.Errors.CKFINDER_CONNECTOR_ERROR_INVALID_NAME;
}
<BUG>if (FileUtils.checkIfDirIsHidden(this.currentFolder, configuration)) {
</BUG>
return Constants.Errors.CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST;
}
<BUG>if (FileUtils.checkIfDirIsHidden(newFolderName, configuration)) {
</BUG>
return Constants.Errors.CKFINDER_CONNECTOR_ERROR_INVALID_NAME;

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