From a321bf934bb46d4f82656418644c523cd0ce522d Mon Sep 17 00:00:00 2001 From: nishadi Date: Thu, 18 Jan 2018 16:26:40 +0530 Subject: [PATCH] Modified CommentsManagerImpl Reformatted. --- .../device/application/mgt/core/impl/CommentsManagerImpl.java | 1 - 1 file changed, 1 deletion(-) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/CommentsManagerImpl.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/CommentsManagerImpl.java index 0b75c69f66..4a5ab8b1c9 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/CommentsManagerImpl.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/CommentsManagerImpl.java @@ -258,7 +258,6 @@ public class CommentsManagerImpl implements CommentsManager { int newStars = 0; try { ConnectionManagerUtil.beginDBTransaction(); - int ratedUsers = commentDAO.getRatedUser(uuid); int oldStars = commentDAO.getStars(uuid); if (ratedUsers == 0) {