From 98e1d5b1ecef3541474993ac1e26ee014f798704 Mon Sep 17 00:00:00 2001 From: prabathabey Date: Fri, 27 Mar 2015 13:09:15 +0530 Subject: [PATCH] Mode code cleanups --- .../org/wso2/carbon/device/mgt/core/api/mgt/APIConfig.java | 5 +++++ .../device/mgt/core/api/mgt/config/APIPublisherConfig.java | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/api/mgt/APIConfig.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/api/mgt/APIConfig.java index 242f3b8360..dbcd8370a3 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/api/mgt/APIConfig.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/api/mgt/APIConfig.java @@ -74,6 +74,7 @@ public class APIConfig { return owner; } + @SuppressWarnings("unused") public void setOwner(String owner) { this.owner = owner; } @@ -83,6 +84,7 @@ public class APIConfig { return context; } + @SuppressWarnings("unused") public void setContext(String context) { this.context = context; } @@ -92,6 +94,7 @@ public class APIConfig { return endpoint; } + @SuppressWarnings("unused") public void setEndpoint(String endpoint) { this.endpoint = endpoint; } @@ -101,6 +104,7 @@ public class APIConfig { return version; } + @SuppressWarnings("unused") public void setVersion(String version) { this.version = version; } @@ -110,6 +114,7 @@ public class APIConfig { return transports; } + @SuppressWarnings("unused") public void setTransports(String transports) { this.transports = transports; } diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/api/mgt/config/APIPublisherConfig.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/api/mgt/config/APIPublisherConfig.java index 91d3f46108..dc926ca1d7 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/api/mgt/config/APIPublisherConfig.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/api/mgt/config/APIPublisherConfig.java @@ -23,7 +23,6 @@ import org.apache.commons.logging.LogFactory; import org.w3c.dom.Document; import org.wso2.carbon.device.mgt.common.DeviceManagementException; import org.wso2.carbon.device.mgt.core.api.mgt.APIConfig; -import org.wso2.carbon.device.mgt.core.config.DeviceManagementConfig; import org.wso2.carbon.device.mgt.core.util.DeviceManagerUtil; import org.wso2.carbon.utils.CarbonUtils; @@ -71,6 +70,7 @@ public class APIPublisherConfig { return apiConfigs; } + @SuppressWarnings("unused") public void setApiConfigs(List apiConfigs) { this.apiConfigs = apiConfigs; }