Skip to content

Commit

Permalink
ZipBuilder: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan09811 authored Mar 21, 2024
1 parent 6d38a56 commit a90532c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private void append(String path, String parent) throws Exception {
byte[] buffer = new byte[1024 * 64];
int len;
while ((len = input.read(buffer)) != -1) {
output.write(buffer, 0, len);
zip.write(buffer, 0, len);
}
input.close();
zip.flush();
Expand All @@ -58,4 +58,4 @@ public void end() throws Exception {
zip.close();
output.close();
}
}
}

0 comments on commit a90532c

Please sign in to comment.