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:
@@ -6,7 +6,9 @@ package com.thealgorithms.strings;
|
||||
* the string "abcdef" to the end of the string, so that the original string
|
||||
* becomes the string "cdefab"
|
||||
*/
|
||||
public class Rotation {
|
||||
public final class Rotation {
|
||||
private Rotation() {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
assert rotation("abcdef", 2).equals("cdefab");
|
||||
|
||||
Reference in New Issue
Block a user