mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-23 12:35:55 +08:00
style: enable HideUtilityClassConstructor
in checkstyle (#5147)
This commit is contained in:
@ -7,7 +7,9 @@ package com.thealgorithms.dynamicprogramming;
|
||||
* @author Libin Yang (https://github.com/yanglbme)
|
||||
* @since 2018/10/5
|
||||
*/
|
||||
public class LongestValidParentheses {
|
||||
public final class LongestValidParentheses {
|
||||
private LongestValidParentheses() {
|
||||
}
|
||||
|
||||
public static int getLongestValidParentheses(String s) {
|
||||
if (s == null || s.length() < 2) {
|
||||
|
Reference in New Issue
Block a user