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 {
|
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…
Reference in New Issue
Block a user