mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-27 06:23:08 +08:00
style: enable HideUtilityClassConstructor
in checkstyle (#5147)
This commit is contained in:
@ -38,7 +38,9 @@ import java.util.Objects;
|
||||
*
|
||||
* @see <a href="https://en.wikipedia.org/wiki/Luhn_algorithm">Wiki</a>
|
||||
*/
|
||||
public class Luhn {
|
||||
public final class Luhn {
|
||||
private Luhn() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Check input digits array by Luhn algorithm. Initial array doesn't change
|
||||
|
Reference in New Issue
Block a user