mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 15:53:36 +01:00
minor changes to make this a utility class (final, private constructor)
Former-commit-id: 7366e29f0973477901d0531b1fe8792d25da7875
This commit is contained in:
@@ -19,7 +19,13 @@ import java.util.logging.Logger;
|
||||
* @author Real's How To: http://www.rgagnon.com/javadetails/java-0416.html
|
||||
*
|
||||
*/
|
||||
public class Checksum {
|
||||
public final class Checksum {
|
||||
|
||||
/**
|
||||
* Private constructor for a utility class.
|
||||
*/
|
||||
private Checksum() {
|
||||
}
|
||||
|
||||
/**
|
||||
* <p>Creates the cryptographic checksum of a given file using the specified
|
||||
@@ -104,4 +110,4 @@ public class Checksum {
|
||||
}
|
||||
return hex.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user