mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
style: enable HideUtilityClassConstructor in checkstyle (#5147)
This commit is contained in:
@@ -5,7 +5,9 @@ import java.util.BitSet;
|
||||
/**
|
||||
* Generates a crc32 checksum for a given string or byte array
|
||||
*/
|
||||
public class CRC32 {
|
||||
public final class CRC32 {
|
||||
private CRC32() {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println(Integer.toHexString(crc32("Hello World")));
|
||||
|
||||
Reference in New Issue
Block a user