diff --git a/conversations/impl/src/main/java/org/sakaiproject/conversations/impl/ConversationsServiceImpl.java b/conversations/impl/src/main/java/org/sakaiproject/conversations/impl/ConversationsServiceImpl.java index 2e169277c5b5..40d4a2904038 100644 --- a/conversations/impl/src/main/java/org/sakaiproject/conversations/impl/ConversationsServiceImpl.java +++ b/conversations/impl/src/main/java/org/sakaiproject/conversations/impl/ConversationsServiceImpl.java @@ -2358,7 +2358,7 @@ public Map getSiteStats(String siteId, Instant from, Instant to, getEventStats(ConversationsEvents.POST_UPVOTED, siteId, from, to, userIds).forEach(stat -> { Long current = upvotedPostCountsByUser.getOrDefault(stat.getUserId(), 0L); - current = current + stat.getCount(); + current += stat.getCount(); upvotedPostCountsByUser.put(stat.getUserId(), current); });