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:
@@ -3,7 +3,9 @@
|
||||
|
||||
package com.thealgorithms.strings;
|
||||
|
||||
public class MyAtoi {
|
||||
public final class MyAtoi {
|
||||
private MyAtoi() {
|
||||
}
|
||||
public static int myAtoi(String s) {
|
||||
s = s.trim();
|
||||
char[] char_1 = s.toCharArray();
|
||||
|
||||
Reference in New Issue
Block a user