mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-08-02 06:03:41 +08:00
style: enable HideUtilityClassConstructor
in checkstyle (#5147)
This commit is contained in:
@ -41,7 +41,9 @@ import java.util.Stack;
|
||||
-1.
|
||||
*/
|
||||
|
||||
public class NextGreaterElement {
|
||||
public final class NextGreaterElement {
|
||||
private NextGreaterElement() {
|
||||
}
|
||||
|
||||
public static int[] findNextGreaterElements(int[] array) {
|
||||
if (array == null) {
|
||||
|
Reference in New Issue
Block a user