From 888d49dac144db34ea2730f290f07cadbc4c6024 Mon Sep 17 00:00:00 2001 From: sinthuja Date: Wed, 27 Sep 2017 16:50:24 +0530 Subject: [PATCH] Fixing code formatting. --- .../mgt/core/operation/OperationManagementTests.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/java/org/wso2/carbon/device/mgt/core/operation/OperationManagementTests.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/java/org/wso2/carbon/device/mgt/core/operation/OperationManagementTests.java index bcc4aa114e..e566c207de 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/java/org/wso2/carbon/device/mgt/core/operation/OperationManagementTests.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/java/org/wso2/carbon/device/mgt/core/operation/OperationManagementTests.java @@ -132,13 +132,13 @@ public class OperationManagementTests { validateOperationResponse(this.commandActivity); } - @Test (expectedExceptions = InvalidDeviceException.class) + @Test(expectedExceptions = InvalidDeviceException.class) public void addEmptyDevicesCommandOperation() throws DeviceManagementException, OperationManagementException, InvalidDeviceException { - this.operationMgtService.addOperation(getOperation(new CommandOperation(), Operation.Type.COMMAND, COMMAND_OPERATON_CODE), + this.operationMgtService.addOperation(getOperation(new CommandOperation(), Operation.Type.COMMAND, COMMAND_OPERATON_CODE), new ArrayList<>()); } - @Test (expectedExceptions = InvalidDeviceException.class) + @Test(expectedExceptions = InvalidDeviceException.class) public void addNonInitializedDevicesCommandOperation() throws DeviceManagementException, OperationManagementException, InvalidDeviceException { DeviceIdentifier deviceIdentifier = new DeviceIdentifier(); List deviceIdentifiers = new ArrayList<>(); @@ -356,7 +356,7 @@ public class OperationManagementTests { } @Test - public void getNotificationStrategy(){ + public void getNotificationStrategy() { Assert.assertTrue(this.operationMgtService.getNotificationStrategy() != null); }