From 3cc15d0df0c410cd43c363ae41ae14eb00a6df19 Mon Sep 17 00:00:00 2001 From: nishadi Date: Wed, 17 Jan 2018 16:06:41 +0530 Subject: [PATCH] Reformatted the code. --- .../org/wso2/carbon/device/application/mgt/api/APIUtil.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.api/src/main/java/org/wso2/carbon/device/application/mgt/api/APIUtil.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.api/src/main/java/org/wso2/carbon/device/application/mgt/api/APIUtil.java index 54c2821052..c3c1cccfc4 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.api/src/main/java/org/wso2/carbon/device/application/mgt/api/APIUtil.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.api/src/main/java/org/wso2/carbon/device/application/mgt/api/APIUtil.java @@ -239,8 +239,7 @@ public class APIUtil { synchronized (APIUtil.class) { if (commentsManager == null) { PrivilegedCarbonContext ctx = PrivilegedCarbonContext.getThreadLocalCarbonContext(); - commentsManager = - (CommentsManager) ctx.getOSGiService(CommentsManager.class, null); + commentsManager = (CommentsManager) ctx.getOSGiService(CommentsManager.class, null); if (commentsManager == null) { String msg = "Comments Manager service has not initialized."; log.error(msg);