Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Friendseeker committed Oct 15, 2024
1 parent 86e8122 commit aa66f40
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ object ParallelGzipOutputStream {
val deflater = new Deflater(compression, true)
val dos = new DeflaterOutputStream(output, deflater, true)

def write(buf: Array[Byte], off: Int, len: Int): Int = {
val n = math.min(len, input.length - inputN)
System.arraycopy(buf, off, input, inputN, n)
n
}

def compress(): Unit = {
deflater.reset()
output.reset()
Expand Down

0 comments on commit aa66f40

Please sign in to comment.