diff options
author | 2020-03-03 12:04:15 +0000 | |
---|---|---|
committer | 2020-03-03 12:04:15 +0000 | |
commit | 47bd03a0353f37ce2c4f2749e40ebd6fd3e93363 (patch) | |
tree | 634d3fbef70b905d9f252f3611036e3390741570 /vid-automation/src/main/java/org/onap/sdc/ci/tests/utilities/FileHandling.java | |
parent | 48781cf7a2ce980c75bb7844b90dbd8194f09989 (diff) | |
parent | 9cb90d378b4cc8cc81acdd85ea2534ae0a2ad392 (diff) |
Merge "Remove dead code in automation's utils"
Diffstat (limited to 'vid-automation/src/main/java/org/onap/sdc/ci/tests/utilities/FileHandling.java')
-rw-r--r-- | vid-automation/src/main/java/org/onap/sdc/ci/tests/utilities/FileHandling.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/vid-automation/src/main/java/org/onap/sdc/ci/tests/utilities/FileHandling.java b/vid-automation/src/main/java/org/onap/sdc/ci/tests/utilities/FileHandling.java index 029555a91..71e9b1c86 100644 --- a/vid-automation/src/main/java/org/onap/sdc/ci/tests/utilities/FileHandling.java +++ b/vid-automation/src/main/java/org/onap/sdc/ci/tests/utilities/FileHandling.java @@ -22,6 +22,7 @@ package org.onap.sdc.ci.tests.utilities; import static org.testng.AssertJUnit.assertTrue; +import com.aventstack.extentreports.Status; import java.io.BufferedOutputStream; import java.io.BufferedWriter; import java.io.File; @@ -43,14 +44,11 @@ import java.util.zip.ZipEntry; import java.util.zip.ZipException; import java.util.zip.ZipFile; import java.util.zip.ZipInputStream; - import org.apache.commons.io.FileUtils; import org.onap.sdc.ci.tests.execute.setup.ExtentTestActions; import org.onap.sdc.ci.tests.execute.setup.SetupCDTest; import org.yaml.snakeyaml.Yaml; -import com.aventstack.extentreports.Status; - public class FileHandling { // ------------------yaml parser methods---------------------------- @@ -312,12 +310,6 @@ public class FileHandling { return flag; } - public static String getMD5OfFile(File file) throws IOException { - String content = FileUtils.readFileToString(file); - String md5 = GeneralUtility.calculateMD5ByString(content); - return md5; - } - public static File createEmptyFile(String fileToCreate) { File file= new File(fileToCreate); try { |