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