Francesco Mangiacrapa 5 years ago
parent 913cfdc407
commit 79aa6ab336

@ -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

Loading…
Cancel
Save