From e0baf9be9312f9195df6d3a60adc3ee48207e75c Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sat, 4 Jan 2025 09:48:22 -0600 Subject: [PATCH] minor jarUtil comment change --- .../java/com/seibel/distanthorizons/core/jar/JarUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/seibel/distanthorizons/core/jar/JarUtils.java b/core/src/main/java/com/seibel/distanthorizons/core/jar/JarUtils.java index 20633553e..d74601c4c 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/jar/JarUtils.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/jar/JarUtils.java @@ -139,7 +139,8 @@ public class JarUtils } /** - * Checks the checksum of a file given an algorithm + * Checks the checksum of a file given an algorithm
+ * source: https://howtodoinjava.com/java/java-security/sha-md5-file-checksum-hash/ * * @param digest What algorithm to use
* Eg.
@@ -148,7 +149,6 @@ public class JarUtils * @param file Location of the file * @return Checksum */ - // Stolen from https://howtodoinjava.com/java/java-security/sha-md5-file-checksum-hash/ public static String getFileChecksum(MessageDigest digest, File file) throws IOException { //Get file input stream for reading the file content