Changing the variable name

revert-70aa11f8
geethkokila 7 years ago
parent a0a2817730
commit ca92c5029f

@ -1181,7 +1181,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
public List<String> getPolicyMonitoringEnableDeviceTypes() throws DeviceManagementException { public List<String> getPolicyMonitoringEnableDeviceTypes() throws DeviceManagementException {
List<String> deviceTypes = this.getAvailableDeviceTypes(); List<String> deviceTypes = this.getAvailableDeviceTypes();
List<String> deviceTyepsToMonitor = new ArrayList<>(); List<String> deviceTypesToMonitor = new ArrayList<>();
int tenantId = this.getTenantId(); int tenantId = this.getTenantId();
Map<DeviceTypeServiceIdentifier, DeviceManagementService> registeredTypes = Map<DeviceTypeServiceIdentifier, DeviceManagementService> registeredTypes =
pluginRepository.getAllDeviceManagementServices(tenantId); pluginRepository.getAllDeviceManagementServices(tenantId);
@ -1192,12 +1192,12 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
deviceType.getGeneralConfig().isPolicyMonitoringEnabled()) { deviceType.getGeneralConfig().isPolicyMonitoringEnabled()) {
for (String type : deviceTypes) { for (String type : deviceTypes) {
if (type.equalsIgnoreCase(deviceType.getType())) { if (type.equalsIgnoreCase(deviceType.getType())) {
deviceTyepsToMonitor.add(type); deviceTypesToMonitor.add(type);
} }
} }
} }
} }
return deviceTyepsToMonitor; return deviceTypesToMonitor;
} }
@Override @Override

Loading…
Cancel
Save