From c461d4e798c53e6b8e4e95401015b65abfd86a0c Mon Sep 17 00:00:00 2001 From: "massimiliano.assante" Date: Tue, 29 Jan 2013 13:37:42 +0000 Subject: [PATCH] fixed missing break in switch git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/notifications@68476 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../client/view/templates/SingleNotificationView.java | 3 +++ .../user/notifications/server/NotificationsServiceImpl.java | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/SingleNotificationView.java b/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/SingleNotificationView.java index 47d572c..9b5fb6c 100644 --- a/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/SingleNotificationView.java +++ b/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/SingleNotificationView.java @@ -68,10 +68,13 @@ public class SingleNotificationView extends Composite { switch (toShow.getType()) { case DOCUMENT_WORKFLOW_STEP_REQUEST_TASK: goApp.setHTML(" See this Document Workflow."); + break; case DOCUMENT_WORKFLOW_VIEW: goApp.setHTML(" See User Activity."); + break; case DOCUMENT_WORKFLOW_EDIT: goApp.setHTML(" See User Activity."); + break; } } diff --git a/src/main/java/org/gcube/portlets/user/notifications/server/NotificationsServiceImpl.java b/src/main/java/org/gcube/portlets/user/notifications/server/NotificationsServiceImpl.java index a133eff..508cc1c 100644 --- a/src/main/java/org/gcube/portlets/user/notifications/server/NotificationsServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/notifications/server/NotificationsServiceImpl.java @@ -14,9 +14,6 @@ import org.gcube.portal.databook.server.DBCassandraAstyanaxImpl; import org.gcube.portal.databook.server.DatabookStore; import org.gcube.portal.databook.shared.Notification; import org.gcube.portal.databook.shared.UserInfo; -import org.gcube.portal.databook.shared.ex.ColumnNameNotFoundException; -import org.gcube.portal.databook.shared.ex.NotificationIDNotFoundException; -import org.gcube.portal.databook.shared.ex.NotificationTypeNotFoundException; import org.gcube.portlets.user.notifications.client.NotificationsService; import com.google.gwt.user.server.rpc.RemoteServiceServlet;