Mode code cleanups

revert-70aa11f8
prabathabey 10 years ago
parent 92198a40c0
commit 98e1d5b1ec

@ -74,6 +74,7 @@ public class APIConfig {
return owner; return owner;
} }
@SuppressWarnings("unused")
public void setOwner(String owner) { public void setOwner(String owner) {
this.owner = owner; this.owner = owner;
} }
@ -83,6 +84,7 @@ public class APIConfig {
return context; return context;
} }
@SuppressWarnings("unused")
public void setContext(String context) { public void setContext(String context) {
this.context = context; this.context = context;
} }
@ -92,6 +94,7 @@ public class APIConfig {
return endpoint; return endpoint;
} }
@SuppressWarnings("unused")
public void setEndpoint(String endpoint) { public void setEndpoint(String endpoint) {
this.endpoint = endpoint; this.endpoint = endpoint;
} }
@ -101,6 +104,7 @@ public class APIConfig {
return version; return version;
} }
@SuppressWarnings("unused")
public void setVersion(String version) { public void setVersion(String version) {
this.version = version; this.version = version;
} }
@ -110,6 +114,7 @@ public class APIConfig {
return transports; return transports;
} }
@SuppressWarnings("unused")
public void setTransports(String transports) { public void setTransports(String transports) {
this.transports = transports; this.transports = transports;
} }

@ -23,7 +23,6 @@ import org.apache.commons.logging.LogFactory;
import org.w3c.dom.Document; import org.w3c.dom.Document;
import org.wso2.carbon.device.mgt.common.DeviceManagementException; 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.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.device.mgt.core.util.DeviceManagerUtil;
import org.wso2.carbon.utils.CarbonUtils; import org.wso2.carbon.utils.CarbonUtils;
@ -71,6 +70,7 @@ public class APIPublisherConfig {
return apiConfigs; return apiConfigs;
} }
@SuppressWarnings("unused")
public void setApiConfigs(List<APIConfig> apiConfigs) { public void setApiConfigs(List<APIConfig> apiConfigs) {
this.apiConfigs = apiConfigs; this.apiConfigs = apiConfigs;
} }

Loading…
Cancel
Save