getPath now return absolute path

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@124694 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2016-02-29 16:15:57 +00:00
parent 80ff067c51
commit 3fe9d27f31
1 changed files with 3 additions and 3 deletions

View File

@ -127,9 +127,9 @@ public class ItemBuilder {
//TODO A PATCH TO AVOID A SLOW GETPATH
// workspaceItemPath = workspaceItem.getPath();
for (WorkspaceItem child: workspaceItem.getChildren()){
String itemPath = workspaceItemPath;
if(child.isFolder())
itemPath+="/"+child.getName();
String itemPath = workspaceItemPath+"/"+child.getName();
// if(child.isFolder())
// itemPath+="/"+child.getName();
// _log.trace("\nConverting child item: "+child.getName());
Item itemChild = getItem(item, child, itemPath, showableTypes, filterCriteria, false);