From 3ba896a024955858085f6c57ddbc710b1cd80953 Mon Sep 17 00:00:00 2001 From: Francesco Mangiacrapa Date: Tue, 27 May 2014 15:34:34 +0000 Subject: [PATCH] commented the methods of NotificationsProducer git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-sharing-widget@96137 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../notifications/NotificationsProducer.java | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/src/main/java/org/gcube/portlets/widgets/workspacesharingwidget/server/notifications/NotificationsProducer.java b/src/main/java/org/gcube/portlets/widgets/workspacesharingwidget/server/notifications/NotificationsProducer.java index c9117b2..8b6bfbc 100644 --- a/src/main/java/org/gcube/portlets/widgets/workspacesharingwidget/server/notifications/NotificationsProducer.java +++ b/src/main/java/org/gcube/portlets/widgets/workspacesharingwidget/server/notifications/NotificationsProducer.java @@ -59,14 +59,13 @@ public class NotificationsProducer { return aslSession; } - /** * Runs a new thread to notify the contacts passed in input * @param listContacts * @param sharedFolder */ public void notifyFolderSharing(final List listContacts, final WorkspaceFolder sharedFolder) { - +/* new Thread(){ @Override public void run() { @@ -99,7 +98,7 @@ public class NotificationsProducer { } }.start(); - + */ } @@ -166,7 +165,7 @@ public class NotificationsProducer { * @param sharedFolder */ public void notifyItemRenamed(final List listSharedContact, final String previousName, final WorkspaceItem item, final WorkspaceFolder sharedFolder) { - +/* new Thread(){ @Override public void run() { @@ -199,7 +198,7 @@ public class NotificationsProducer { logger.info("notifies shared item was updated is completed"); } }.start(); - + */ } @@ -302,7 +301,7 @@ public class NotificationsProducer { * @param unSharedFolder */ public void notifyFolderUnSharing(final List listContacts, final WorkspaceFolder unSharedFolder) { - +/* new Thread() { @Override @@ -337,7 +336,7 @@ public class NotificationsProducer { } }.start(); - + */ } @@ -348,7 +347,7 @@ public class NotificationsProducer { * @param workspaceItem */ public void notifyAddedItemToSharing(final List listContacts, final WorkspaceItem workspaceItem, final WorkspaceFolder sharedFolder) { - +/* new Thread() { @Override public void run() { @@ -394,6 +393,8 @@ public class NotificationsProducer { } }.start(); + + */ } @@ -403,7 +404,7 @@ public class NotificationsProducer { * @param workspaceItem */ public void notifyUpdatedItemToSharing(final List listContacts, final WorkspaceItem workspaceItem, final WorkspaceFolder sharedFolder) { - +/* new Thread() { @Override public void run() { @@ -449,6 +450,8 @@ public class NotificationsProducer { } }.start(); + + */ } @@ -462,7 +465,7 @@ public class NotificationsProducer { */ public void notifyMovedItemToSharing(final List listContacts, final WorkspaceItem workspaceItem, final WorkspaceFolder sharedFolder) { - + /* new Thread() { @Override public void run() { @@ -521,7 +524,7 @@ public class NotificationsProducer { }.start(); - +*/ } @@ -531,7 +534,7 @@ public class NotificationsProducer { * @param sharedFolder */ public void notifyRemovedItemToSharing(final List listContacts, final String itemName, final WorkspaceFolder sharedFolder) { - +/* new Thread() { @Override @@ -591,7 +594,7 @@ public class NotificationsProducer { }.start(); - +*/ }