From 3a9261536ec6638addb393f28198ee7dd4daee22 Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Tue, 23 Jan 2018 14:59:52 +0530 Subject: [PATCH] Renamed isEnabled into Enabled for the consistency --- .../geo/location/GeoLocationConfiguration.java | 12 ++++++------ .../carbon-home/repository/conf/cdm-config.xml | 4 ++-- .../app/modules/business-controllers/device.js | 2 +- .../src/main/resources/conf/cdm-config.xml | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/config/geo/location/GeoLocationConfiguration.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/config/geo/location/GeoLocationConfiguration.java index a4a3492804..d81b525df0 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/config/geo/location/GeoLocationConfiguration.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/config/geo/location/GeoLocationConfiguration.java @@ -27,14 +27,14 @@ import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement(name = "GeoLocationConfiguration") public class GeoLocationConfiguration { - private boolean isEnabled; + private boolean enabled; - public boolean getIsEnabled() { - return isEnabled; + public boolean getEnabled() { + return enabled; } - @XmlElement(name = "isEnabled", required = true) - public void setIsEnabled(boolean isEnabled) { - this.isEnabled = isEnabled; + @XmlElement(name = "Enabled", required = true) + public void setEnabled(boolean enabled) { + this.enabled = enabled; } } diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/resources/carbon-home/repository/conf/cdm-config.xml b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/resources/carbon-home/repository/conf/cdm-config.xml index 0bd2486331..4082f0ceec 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/resources/carbon-home/repository/conf/cdm-config.xml +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/resources/carbon-home/repository/conf/cdm-config.xml @@ -89,13 +89,13 @@ 86400 - false + false false false - false + false