diff options
author | Murali-P <murali.p@huawei.com> | 2017-03-03 17:35:33 +0530 |
---|---|---|
committer | Murali-P <murali.p@huawei.com> | 2017-03-03 17:35:33 +0530 |
commit | 7a224af9e5eff59bcb55118a1217968740a77d3f (patch) | |
tree | 3f0978ad7757d84b27f8d5c9b7983325919493eb /vnf-sdk-function-test/src/main/java/org | |
parent | aec01e48dcd9e9205bcee8c68a788eb075fcfa9a (diff) |
Add file header
Resolved:VNFSDK-21
VNF SDK Function tests
Change-Id: I96c1123c7657a277d21bb998d001415a6d4c2786
Signed-off-by: Murali-P <murali.p@huawei.com>
Diffstat (limited to 'vnf-sdk-function-test/src/main/java/org')
-rw-r--r-- | vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/FileUtil.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/FileUtil.java b/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/FileUtil.java index e97b4c4..ccfb3fa 100644 --- a/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/FileUtil.java +++ b/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/FileUtil.java @@ -46,7 +46,7 @@ public final class FileUtil { } /** - * create dir. + * Create directory. * * @param dir dir to create * @return boolean @@ -188,9 +188,9 @@ public final class FileUtil { */ private static void closeZipFile(ZipFile zipFile) { try { - ZipFile tempZipFile = zipFile; + ZipFile tempZipFile = zipFile; if(tempZipFile != null) { - tempZipFile.close(); + tempZipFile.close(); } } catch(IOException ioe) { LOG.error("close ZipFile error!: " + ioe); @@ -222,7 +222,7 @@ public final class FileUtil { FileInputStream fileInputStream = new FileInputStream(filename); int value = fileInputStream.read(byteArrayFile); fileInputStream.close(); - LOG.debug("Number of bytes read from fileInputStream = "+value); + LOG.debug("Number of bytes read from fileInputStream = " + value); } catch(Exception e) { LOG.error("convertZipFiletoByteArray: " + e); } |