From d35e02868b31919e62b52992e341ba3b1e335f2d Mon Sep 17 00:00:00 2001 From: friendseeker <66892505+Friendseeker@users.noreply.github.com> Date: Mon, 14 Oct 2024 17:36:55 -0700 Subject: [PATCH] Remove unused code --- .../internal/inc/consistent/ParallelGzipOutputStream.scala | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/zinc-persist/src/main/scala/sbt/internal/inc/consistent/ParallelGzipOutputStream.scala b/internal/zinc-persist/src/main/scala/sbt/internal/inc/consistent/ParallelGzipOutputStream.scala index ec34d9209..0419abf82 100644 --- a/internal/zinc-persist/src/main/scala/sbt/internal/inc/consistent/ParallelGzipOutputStream.scala +++ b/internal/zinc-persist/src/main/scala/sbt/internal/inc/consistent/ParallelGzipOutputStream.scala @@ -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()