From 0b2f526c50cb930507647921284f0c51a564cff9 Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Mon, 5 Feb 2018 23:47:48 +0530 Subject: [PATCH] Fix code formatting --- .../iot/sampledevice/plugin/impl/DeviceTypeManager.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/distribution/src/core/samples/sampledevice/component/plugin/src/main/java/org/wso2/iot/sampledevice/plugin/impl/DeviceTypeManager.java b/modules/distribution/src/core/samples/sampledevice/component/plugin/src/main/java/org/wso2/iot/sampledevice/plugin/impl/DeviceTypeManager.java index 5482feb0..fc117d26 100644 --- a/modules/distribution/src/core/samples/sampledevice/component/plugin/src/main/java/org/wso2/iot/sampledevice/plugin/impl/DeviceTypeManager.java +++ b/modules/distribution/src/core/samples/sampledevice/component/plugin/src/main/java/org/wso2/iot/sampledevice/plugin/impl/DeviceTypeManager.java @@ -76,7 +76,7 @@ public class DeviceTypeManager implements DeviceManager { DeviceTypeDAO.rollbackTransaction(); } catch (DeviceMgtPluginException iotDAOEx) { log.warn("Error occurred while roll back the device enrol transaction :" - + device.toString(), iotDAOEx); + + device.toString(), iotDAOEx); } String msg = "Error while enrolling the sampledevice device : " + device.getDeviceIdentifier(); @@ -143,7 +143,7 @@ public class DeviceTypeManager implements DeviceManager { try { if (log.isDebugEnabled()) { log.debug("Checking the enrollment of sampledevice device : " - + deviceId.getId()); + + deviceId.getId()); } Device iotDevice = deviceTypeDAO.getDeviceTypeDAO().getDevice(deviceId.getId()); @@ -261,7 +261,8 @@ public class DeviceTypeManager implements DeviceManager { } @Override - public boolean updateDeviceProperties(DeviceIdentifier deviceIdentifier, List list) throws DeviceManagementException { + public boolean updateDeviceProperties(DeviceIdentifier deviceIdentifier, List list) + throws DeviceManagementException { return false; } }