mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +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