List<Resource> children;
try {
children = dotDavHelper.getChildrenOfFolder(folder, user, isAutoPub);
} catch (IOException e) {
Logger.error(FolderResourceImpl.class, e.getMessage(), e);
throw new DotRuntimeException(e.getMessage(), e);
}
for (Resource resource : children) {
if(resource instanceof FolderResourceImpl){
String name = ((FolderResourceImpl)resource).getFolder().getName();
if(name.equalsIgnoreCase(childName)){