check added on getRecentLikedFeeds
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@130990 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
fbae17bb34
commit
fa05ed5202
|
@ -1744,8 +1744,7 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
|||
// get the list of liked feeds
|
||||
List<String> likedFeedsIdsByUser = getAllLikedFeedIdsByUser(userid);
|
||||
|
||||
if(likedFeedsIdsByUser != null){
|
||||
|
||||
if(likedFeedsIdsByUser != null && !likedFeedsIdsByUser.isEmpty()){
|
||||
for(int i = likedFeedsIdsByUser.size() - 1; i >= 0; i--){
|
||||
String feedId = likedFeedsIdsByUser.get(i);
|
||||
try{
|
||||
|
|
Loading…
Reference in New Issue