removed duplicated getPath
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@124608 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
9d5b605b41
commit
70f83f49e9
|
@ -125,7 +125,7 @@ public class ItemBuilder {
|
||||||
|
|
||||||
if(loadChildren){
|
if(loadChildren){
|
||||||
//TODO A PATCH TO AVOID A SLOW GETPATH
|
//TODO A PATCH TO AVOID A SLOW GETPATH
|
||||||
workspaceItemPath = workspaceItem.getPath();
|
// workspaceItemPath = workspaceItem.getPath();
|
||||||
for (WorkspaceItem child: workspaceItem.getChildren()){
|
for (WorkspaceItem child: workspaceItem.getChildren()){
|
||||||
String itemPath = workspaceItemPath;
|
String itemPath = workspaceItemPath;
|
||||||
if(child.isFolder())
|
if(child.isFolder())
|
||||||
|
|
Loading…
Reference in New Issue