From 9017275c1abd00270c181b218149492b563e86b1 Mon Sep 17 00:00:00 2001 From: Massimiliano Assante Date: Thu, 3 Oct 2013 10:36:20 +0000 Subject: [PATCH] removed gcf dep git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/news-feed@82360 82a268e6-3cf1-43bd-a215-b396298e98cf --- pom.xml | 25 +++++++++---------- .../server/CommentNotificationsThread.java | 6 +++-- .../server/LikeNotificationsThread.java | 5 ++-- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/pom.xml b/pom.xml index 8d5c097..204b0e4 100644 --- a/pom.xml +++ b/pom.xml @@ -68,14 +68,19 @@ provided - org.gcube.portal - social-networking-library - [1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT) + org.gcube.applicationsupportlayer + aslcore provided - org.gcube.core - gcf + org.gcube.applicationsupportlayer + aslsocial + provided + + + org.gcube.portal + social-networking-library + [1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT) provided @@ -100,14 +105,8 @@ provided - org.gcube.applicationsupportlayer - aslsocial - provided - - - org.gcube.applicationsupportlayer - aslcore - provided + org.gcube.dvos + usermanagement-core com.google diff --git a/src/main/java/org/gcube/portlets/user/newsfeed/server/CommentNotificationsThread.java b/src/main/java/org/gcube/portlets/user/newsfeed/server/CommentNotificationsThread.java index 74b3e4c..9b7177d 100644 --- a/src/main/java/org/gcube/portlets/user/newsfeed/server/CommentNotificationsThread.java +++ b/src/main/java/org/gcube/portlets/user/newsfeed/server/CommentNotificationsThread.java @@ -4,11 +4,12 @@ import java.util.HashSet; import java.util.List; import org.gcube.applicationsupportlayer.social.NotificationsManager; -import org.gcube.common.core.utils.logging.GCUBEClientLog; import org.gcube.portal.databook.server.DatabookStore; import org.gcube.portal.databook.shared.Comment; import org.gcube.vomanagement.usermanagement.UserManager; import org.gcube.vomanagement.usermanagement.impl.liferay.LiferayUserManager; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; /** * @@ -16,7 +17,8 @@ import org.gcube.vomanagement.usermanagement.impl.liferay.LiferayUserManager; * */ public class CommentNotificationsThread implements Runnable { - private static GCUBEClientLog _log = new GCUBEClientLog(CommentNotificationsThread.class); + + private static final Logger _log = LoggerFactory.getLogger(CommentNotificationsThread.class); String commenterUserId; String commentedFeedId; diff --git a/src/main/java/org/gcube/portlets/user/newsfeed/server/LikeNotificationsThread.java b/src/main/java/org/gcube/portlets/user/newsfeed/server/LikeNotificationsThread.java index 0f0bd0a..c4dc3e0 100644 --- a/src/main/java/org/gcube/portlets/user/newsfeed/server/LikeNotificationsThread.java +++ b/src/main/java/org/gcube/portlets/user/newsfeed/server/LikeNotificationsThread.java @@ -3,8 +3,9 @@ package org.gcube.portlets.user.newsfeed.server; import java.util.ArrayList; import org.gcube.applicationsupportlayer.social.NotificationsManager; -import org.gcube.common.core.utils.logging.GCUBEClientLog; import org.gcube.portal.databook.shared.Like; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; /** * @@ -12,7 +13,7 @@ import org.gcube.portal.databook.shared.Like; * */ public class LikeNotificationsThread implements Runnable { - private static GCUBEClientLog _log = new GCUBEClientLog(LikeNotificationsThread.class); + private static final Logger _log = LoggerFactory.getLogger(LikeNotificationsThread.class); private String commentText; private NotificationsManager nm;