From ca92c5029fe30bbfd117972378f515b05ba44c69 Mon Sep 17 00:00:00 2001 From: geethkokila Date: Mon, 22 Jan 2018 15:25:40 +0530 Subject: [PATCH] Changing the variable name --- .../core/service/DeviceManagementProviderServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/DeviceManagementProviderServiceImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/DeviceManagementProviderServiceImpl.java index 2d86ff9861e..439448b382d 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/DeviceManagementProviderServiceImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/DeviceManagementProviderServiceImpl.java @@ -1181,7 +1181,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv public List getPolicyMonitoringEnableDeviceTypes() throws DeviceManagementException { List deviceTypes = this.getAvailableDeviceTypes(); - List deviceTyepsToMonitor = new ArrayList<>(); + List deviceTypesToMonitor = new ArrayList<>(); int tenantId = this.getTenantId(); Map registeredTypes = pluginRepository.getAllDeviceManagementServices(tenantId); @@ -1192,12 +1192,12 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv deviceType.getGeneralConfig().isPolicyMonitoringEnabled()) { for (String type : deviceTypes) { if (type.equalsIgnoreCase(deviceType.getType())) { - deviceTyepsToMonitor.add(type); + deviceTypesToMonitor.add(type); } } } } - return deviceTyepsToMonitor; + return deviceTypesToMonitor; } @Override