code cleanup

This commit is contained in:
prabathabey 2015-01-18 13:57:36 +05:30
parent 9e695ecc85
commit 5f242d6165

View File

@ -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);
} }