From 44df25f8049210083781699457f6de2f9e09a83f Mon Sep 17 00:00:00 2001 From: ag2s20150909 Date: Thu, 26 Aug 2021 23:51:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8Gradle=E4=B8=8B=E8=BD=BDCrone?= =?UTF-8?q?t,=E8=87=AA=E5=8A=A8=E8=AE=A1=E7=AE=97md5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/download.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/download.gradle b/app/download.gradle index a42f545af..8d657e21c 100644 --- a/app/download.gradle +++ b/app/download.gradle @@ -16,7 +16,7 @@ static def generateMD5(final file) { MessageDigest digest = MessageDigest.getInstance("MD5") file.withInputStream() { is -> byte[] buffer = new byte[1024] - //int numRead = 0 + int numRead = 0 while ((numRead = is.read(buffer)) > 0) { digest.update(buffer, 0, numRead) }