From 659713b59348bff41ba1fda1a990b02f425fcd2b Mon Sep 17 00:00:00 2001 From: amalhub Date: Tue, 10 Oct 2017 11:22:37 +0530 Subject: [PATCH] Code formatting --- .../application/mgt/core/impl/SubscriptionManagerImpl.java | 3 ++- 1 file changed, 2 insertions(+), 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/SubscriptionManagerImpl.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/SubscriptionManagerImpl.java index bfe7a13e2a..0331630f34 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/SubscriptionManagerImpl.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/SubscriptionManagerImpl.java @@ -47,6 +47,7 @@ import java.util.List; public class SubscriptionManagerImpl implements SubscriptionManager { private static final Log log = LogFactory.getLog(SubscriptionManagerImpl.class); + private static final String INSTALL_APPLICATION = "INSTALL_APPLICATION"; @Override public List installApplicationForDevices(String applicationUUID, String versionName, @@ -122,7 +123,7 @@ public class SubscriptionManagerImpl implements SubscriptionManager { // put app install operation to the device ProfileOperation operation = new ProfileOperation(); - operation.setCode("INSTALL_APPLICATION"); + operation.setCode(INSTALL_APPLICATION); operation.setType(Operation.Type.PROFILE); operation.setPayLoad("{'type':'enterprise', 'url':'http://10.100.5.76:8000/app-debug.apk', 'app':'" + applicationUUID + "'}");