mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-21 02:53:15 +08:00
style: enable HideUtilityClassConstructor
in checkstyle (#5147)
This commit is contained in:
@ -3,7 +3,9 @@ package com.thealgorithms.strings;
|
||||
/**
|
||||
* Reverse String using different version
|
||||
*/
|
||||
public class ReverseString {
|
||||
public final class ReverseString {
|
||||
private ReverseString() {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
assert reverse("abc123").equals("321cba");
|
||||
|
Reference in New Issue
Block a user