mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
code cleanup
This commit is contained in:
parent
9e695ecc85
commit
5f242d6165
@ -38,7 +38,7 @@ public class DeviceManagementRepository {
|
|||||||
try {
|
try {
|
||||||
DeviceManagerUtil.registerDeviceType(deviceType);
|
DeviceManagerUtil.registerDeviceType(deviceType);
|
||||||
} catch (DeviceManagementException e) {
|
} catch (DeviceManagementException e) {
|
||||||
log.error("Exception occurred while registering the device type.",e);
|
log.error("Exception occurred while registering the device type.", e);
|
||||||
}
|
}
|
||||||
providers.put(deviceType, provider);
|
providers.put(deviceType, provider);
|
||||||
}
|
}
|
||||||
@ -48,7 +48,7 @@ public class DeviceManagementRepository {
|
|||||||
try {
|
try {
|
||||||
DeviceManagerUtil.unregisterDeviceType(deviceType);
|
DeviceManagerUtil.unregisterDeviceType(deviceType);
|
||||||
} catch (DeviceManagementException e) {
|
} catch (DeviceManagementException e) {
|
||||||
log.error("Exception occured while registering the device type.",e);
|
log.error("Exception occurred while registering the device type.", e);
|
||||||
}
|
}
|
||||||
providers.remove(deviceType);
|
providers.remove(deviceType);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user