From 6a52997a827b19d6192647cbe5a1f20ee69272c8 Mon Sep 17 00:00:00 2001 From: lasanthaDLPDS Date: Fri, 5 Apr 2019 08:40:55 +0530 Subject: [PATCH] Fix syntax issue in get application call --- .../carbon/device/application/mgt/core/dao/common/Util.java | 2 +- 1 file changed, 1 insertion(+), 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/dao/common/Util.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/dao/common/Util.java index bb1fc705eb..36d409750e 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/dao/common/Util.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/dao/common/Util.java @@ -137,7 +137,7 @@ public class Util { application.setSubType(rs.getString("APP_SUB_TYPE")); application.setPaymentCurrency(rs.getString("APP_CURRENCY")); application.setStatus(rs.getString("APP_STATUS")); - application.setAppRating(rs.getInt("APP_RATING)")); + application.setAppRating(rs.getInt("APP_RATING")); application.setDeviceTypeId(rs.getInt("APP_DEVICE_TYPE_ID")); } else { ApplicationReleaseEntity appRelease = new ApplicationReleaseEntity();