Skip to content

Commit 58c927a

Browse files
committed
rmi comment
1 parent d93a73a commit 58c927a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/transformers/DeduplicatingResourceTransformer.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,6 @@ public open class DeduplicatingResourceTransformer(
120120
val d = digest!!
121121
try {
122122
d.reset()
123-
// We could replace this block with `o.a.c.codec.digest.DigestUtils.digest(MessageDigest, File)`,
124-
// but adding a whole new dependency seemed a bit overkill.
125-
// Using org.apache.commons.io.input.MessageDigestInputStream doesn't give simpler code either.
126123
file.inputStream().use {
127124
val buffer = ByteArray(8192)
128125
var readBytes: Int

0 commit comments

Comments
 (0)