From 8983fd6d51f1d2697bad2769788e1ce064c3e9ef Mon Sep 17 00:00:00 2001 From: inoshperera Date: Sun, 16 Sep 2018 17:32:41 +0530 Subject: [PATCH] formatting fixes --- .../StorageManagementUtilTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/test/java/org.wso2.carbon.device.application.mgt.core/StorageManagementUtilTest.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/test/java/org.wso2.carbon.device.application.mgt.core/StorageManagementUtilTest.java index c857b0a67b..68817849cf 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/test/java/org.wso2.carbon.device.application.mgt.core/StorageManagementUtilTest.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/test/java/org.wso2.carbon.device.application.mgt.core/StorageManagementUtilTest.java @@ -30,7 +30,6 @@ import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; - public class StorageManagementUtilTest { private static final String TEMP_FOLDER = "src/test/resources/util/temp"; private static final String APK_FILE = "src/test/resources/util/app-debug.apk"; @@ -60,7 +59,7 @@ public class StorageManagementUtilTest { InputStream apk = new FileInputStream(APK_FILE); StorageManagementUtil.saveFile(apk, TEMP_FOLDER + APK_FILE_NAME); File file = new File(TEMP_FOLDER + APK_FILE_NAME); - if(!file.exists()) { + if (!file.exists()) { Assert.fail("File saving failed."); } } @@ -69,7 +68,7 @@ public class StorageManagementUtilTest { public void deleteFileTest() throws IOException, ResourceManagementException { File file = new File(TEMP_FOLDER); StorageManagementUtil.deleteDir(file); - if(file.exists()) { + if (file.exists()) { Assert.fail("File deleting failed."); } }