mthmulders commented on a change in pull request #52: URL: https://github.com/apache/maven-resolver/pull/52#discussion_r433065216
########## File path: maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/SimpleDigest.java ########## @@ -37,18 +37,32 @@ { try { - digest = MessageDigest.getInstance( "SHA-1" ); + digest = MessageDigest.getInstance( "SHA-512" ); Review comment: Can't we replace this fourfold nested try/catch with a loop over an ordered collection? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org