diff options
Diffstat (limited to 'ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/commons/utils/Zip.java')
-rw-r--r-- | ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/commons/utils/Zip.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/commons/utils/Zip.java b/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/commons/utils/Zip.java index b48287d..cb6d57b 100644 --- a/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/commons/utils/Zip.java +++ b/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/commons/utils/Zip.java @@ -39,14 +39,7 @@ public class Zip { this.zipFilePath = zipFilePath; this.compressPath = compressFile.getAbsolutePath(); - /*if (this.zipFilePath == null) { - StringBuffer zipFilePathBuf = new StringBuffer(this.compressPath); - int bufLen = zipFilePathBuf.length(); - if (zipFilePathBuf.charAt(bufLen - 1) == '/') - zipFilePathBuf.deleteCharAt(bufLen - 1); - this.zipFilePath = zipFilePathBuf.append(".zip").toString(); - }*/ - relativeAddrIdx = this.compressPath.lastIndexOf(File.separator) + 1; + relativeAddrIdx = this.compressPath.lastIndexOf(File.separator) + 1; } public void compress() throws IOException { |