minor changes to make this a utility class (final, private constructor)

Former-commit-id: 7366e29f0973477901d0531b1fe8792d25da7875
This commit is contained in:
Jeremy Long
2014-01-03 14:29:12 -05:00
parent b160d58d1b
commit a4c1e3b0bc

View File

@@ -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();
}
}
}