diff options
-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); } |