mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Changing the variable name
This commit is contained in:
parent
a0a2817730
commit
ca92c5029f
@ -1181,7 +1181,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
||||
public List<String> getPolicyMonitoringEnableDeviceTypes() throws DeviceManagementException {
|
||||
|
||||
List<String> deviceTypes = this.getAvailableDeviceTypes();
|
||||
List<String> deviceTyepsToMonitor = new ArrayList<>();
|
||||
List<String> deviceTypesToMonitor = new ArrayList<>();
|
||||
int tenantId = this.getTenantId();
|
||||
Map<DeviceTypeServiceIdentifier, DeviceManagementService> 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user