mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-25 21:44:07 +08:00
style: enable HideUtilityClassConstructor
in checkstyle (#5147)
This commit is contained in:
@ -11,7 +11,9 @@ package com.thealgorithms.stacks;
|
||||
import java.util.Scanner;
|
||||
import java.util.Stack;
|
||||
|
||||
public class DuplicateBrackets {
|
||||
public final class DuplicateBrackets {
|
||||
private DuplicateBrackets() {
|
||||
}
|
||||
|
||||
public static boolean check(String str) {
|
||||
Stack<Character> st = new Stack<>();
|
||||
|
Reference in New Issue
Block a user