Skip to content

Commit fd0ec27

Browse files
committed
Simplify code
1 parent 1b862e3 commit fd0ec27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/software/coley/llzip/format/write/CopyZipWriterStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void write(ZipArchive archive, OutputStream os) throws IOException {
6060
// Extra field
6161
os.write(ByteDataUtil.toByteArray(fileHeader.getExtraField()));
6262
// Compressed data
63-
os.write(ByteDataUtil.toByteArray(fileHeader.getFileData()), 0, (int) fileHeader.getCompressedSize());
63+
os.write(ByteDataUtil.toByteArray(fileHeader.getFileData()));
6464
}
6565

6666
// Write central directory file headers.

0 commit comments

Comments
 (0)