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 @@ package com.thealgorithms.strings;
|
||||
* based on the position of the characters in the conventional ordering of an
|
||||
* alphabet. Wikipedia: https://en.wikipedia.org/wiki/Alphabetical_order
|
||||
*/
|
||||
class Alphabetical {
|
||||
final class Alphabetical {
|
||||
private Alphabetical() {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
assert !isAlphabetical("123abc");
|
||||
|
||||
Reference in New Issue
Block a user