Pankraz76 commented on code in PR #2368:
URL: https://github.com/apache/maven/pull/2368#discussion_r2100187460


##########
its/core-it-support/core-it-plugins/maven-it-plugin-dependency-resolution/src/main/java/org/apache/maven/plugin/coreit/AbstractDependencyMojo.java:
##########
@@ -222,11 +222,8 @@ private String calcChecksum(File jarFile) throws 
IOException, NoSuchAlgorithmExc
         MessageDigest digester = MessageDigest.getInstance("SHA-1");
 
         try (FileInputStream is = new FileInputStream(jarFile)) {
-            DigestInputStream dis = new DigestInputStream(is, digester);
-
-            for (byte[] buffer = new byte[1024 * 4]; dis.read(buffer) >= 0; ) {
-                // just read it
-            }
+            // [WARNING] PMD Failure: Rule:EmptyControlStatement Priority:3 
Empty for statement.

Review Comment:
   ```suggestion
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to