From 34153371d37ad84aed231f9177ed89f6888c3e73 Mon Sep 17 00:00:00 2001 From: Hasunie Date: Thu, 8 Dec 2016 19:15:34 +0530 Subject: [PATCH] fixing message issue in configurationmgtservice --- .../api/services/impl/ConfigurationMgtServiceImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/src/main/java/org/wso2/carbon/device/mgt/mobile/windows/api/services/impl/ConfigurationMgtServiceImpl.java b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/src/main/java/org/wso2/carbon/device/mgt/mobile/windows/api/services/impl/ConfigurationMgtServiceImpl.java index 5f0d8f7e1..c2a6607b3 100644 --- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/src/main/java/org/wso2/carbon/device/mgt/mobile/windows/api/services/impl/ConfigurationMgtServiceImpl.java +++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/src/main/java/org/wso2/carbon/device/mgt/mobile/windows/api/services/impl/ConfigurationMgtServiceImpl.java @@ -81,7 +81,7 @@ public class ConfigurationMgtServiceImpl implements ConfigurationMgtService { platformConfiguration.setConfiguration(configs); } } catch (DeviceManagementException e) { - msg = "Error occurred while retrieving the Android tenant configuration"; + msg = "Error occurred while retrieving the Windows tenant configuration"; log.error(msg, e); throw new UnexpectedServerErrorException( new ErrorResponse.ErrorResponseBuilder().setCode(500l).setMessage(msg).build()); @@ -129,7 +129,8 @@ public class ConfigurationMgtServiceImpl implements ConfigurationMgtService { throw new UnexpectedServerErrorException( new ErrorResponse.ErrorResponseBuilder().setCode(500l).setMessage(message).build()); } - return Response.status(Response.Status.OK).entity("Android platform configuration has been updated successfully.").build(); + return Response.status(Response.Status.OK). + entity("Windows platform configuration has been updated successfully.").build(); }