fixing move operation

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@171987 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2018-10-05 15:38:42 +00:00
parent d89e1338a3
commit 438320ec21
1 changed files with 1 additions and 1 deletions

View File

@ -699,7 +699,7 @@ public final class WorkspaceStorageHubClientService implements Workspace{
for (String itemId : itemIds) {
try{
AbstractFileItem movedItem = storageHubClientService.moveItem(itemId, destFolderContainer);
Item movedItem = storageHubClientService.moveItem(itemId, destFolderContainer);
toReturnItems.add(HLMapper.toWorkspaceItem(movedItem));
}catch(Exception e){
logger.error("Error on moving the item with id: "+itemId+ " in the folder id: "+destFolderContainer.get().getId(), e);