From 2981a1537e00b6bd49206119cb4c0e71dc753a70 Mon Sep 17 00:00:00 2001 From: nishadi Date: Wed, 28 Feb 2018 11:21:41 +0530 Subject: [PATCH] Changed CommentManagementAPIImpl changed returning null into response ok. --- .../mgt/store/api/services/impl/CommentManagementAPIImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/impl/CommentManagementAPIImpl.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/impl/CommentManagementAPIImpl.java index e35919ffd6e..4bb1dfb38c1 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/impl/CommentManagementAPIImpl.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/impl/CommentManagementAPIImpl.java @@ -73,7 +73,7 @@ public class CommentManagementAPIImpl implements CommentManagementAPI { return Response.status(Response.Status.INTERNAL_SERVER_ERROR).entity(" Internal server error occurs") .build(); } - return null; + return Response.status(Response.Status.OK).build(); } @Override