changed logs

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@182168 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2019-10-29 09:59:48 +00:00
parent 913cfdc407
commit 79aa6ab336
1 changed files with 3 additions and 3 deletions

View File

@ -70,7 +70,7 @@ public class NotificationStorageHubUtil {
logger.trace("The notifies sent correctly");
}
else
logger.warn("Notifies added item: "+workspaceItem+ "to share doesn't sent because "+destinationSharedFolder+" is not istance of WorkspaceSharedFolder");
logger.warn("Notifies added item: "+workspaceItem+ "to share doesn't sent because "+destinationSharedFolder+" is not a folder and shared");
// np.notifyAddedItemToSharing(listContacts, (WorkspaceFolder) folderDestinationItem);
}
}
@ -134,7 +134,7 @@ public class NotificationStorageHubUtil {
np.notifyMovedItemToSharing(workspace, listContacts, sourceItem, (WorkspaceFolder) sourceRootSharedFolder);
logger.trace("The notifies was sent correctly");
}else
logger.warn("Notifies moved item: "+sourceItem+ "from share doesn't sent because "+sourceRootSharedFolder+" is not istance of WorkspaceSharedFolder");
logger.warn("Notifies moved item: "+sourceItem+ "from share doesn't sent because "+sourceRootSharedFolder+" is not a folder and shared");
}
}catch (Exception e) {
@ -221,7 +221,7 @@ public class NotificationStorageHubUtil {
//Notify Removed Item To Sharing?
if(!isRootFolderShared){
//if(isFolderAndShared(sourceSharedFolder)){
np.notifyRemovedItemToSharing(listContacts, oldItemName, (org.gcube.common.storagehubwrapper.shared.tohl.WorkspaceSharedFolder) sourceSharedFolder);
np.notifyRemovedItemToSharing(listContacts, oldItemName, (org.gcube.common.storagehubwrapper.shared.tohl.WorkspaceFolder) sourceSharedFolder);
logger.debug("Notification was sent correctly");
//}
//else