removed unsued code

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/workspace-explorer-app@131530 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2016-09-20 09:43:23 +00:00
parent c6f0c0e78a
commit 68c4afce91
1 changed files with 0 additions and 21 deletions

View File

@ -409,27 +409,6 @@ public class WorkspaceExplorerAppServiceImpl extends RemoteServiceServlet implem
logger.debug("returning empty list");
return new ArrayList<Item>(); // empty list
}
/*case 2: //itemIdentifier is first level from root
logger.debug("itemIdentifier is first level...");
List<Item> listParents = new ArrayList<Item>();
Item parent = null;
if(includeItemAsParent){
WorkspaceFolder wsFolder1 =(WorkspaceFolder) workspace.getItem(itemIdentifier); //folder of first level
parent = ItemBuilder.buildFolderForBreadcrumbs(wsFolder1, null);
}
// WorkspaceFolder wsRootFolder = (WorkspaceFolder) parents.get(0); //isRoot
// Item root = ItemBuilder.buildFolderForBreadcrumbs(wsRootFolder, null);
//
// if(root.getId().compareTo(parentLimit)!=0)
// listParents.add(root);
if(parent!=null)
listParents.add(parent);
// workspaceLogger.trace("returning: "+listParents.toString());
return listParents;
*/
default:
break;
}