Skip to content

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorMarinov committed Nov 21, 2016
1 parent ab649a5 commit e4f01dd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions core_api/ScriptingServices/io/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,10 @@ function ZipEntry(internalZipEntry, internalZipInputStream, internalZipOutputStr
try {
output = new java.io.ByteArrayOutputStream();
var len = 0;
console.log("Buffer1 " + this.internalZipInputStream);
while ((len = this.internalZipInputStream.read(internalBytesBuffer)) > 0) {
console.log("Buffer2 ");
output.write(internalBytesBuffer, 0, len);
console.log("Buffer " + len);
}
output.flush();
bytes = streams.toJavaScriptBytes(output.toByteArray());
console.log("Bytes " + bytes);
} finally {
if (output !== null) {
output.close();
Expand Down

0 comments on commit e4f01dd

Please sign in to comment.