code cleanup

revert-70aa11f8
prabathabey 10 years ago
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…
Cancel
Save