style: enable HideUtilityClassConstructor in checkstyle (#5147)

This commit is contained in:
Piotr Idzik
2024-05-08 08:58:29 +02:00
committed by GitHub
parent 030bb91d05
commit d3bb691f59
285 changed files with 895 additions and 339 deletions

View File

@ -25,7 +25,9 @@ import java.util.Scanner;
1. [1,2,3,4] Number of rotations: 0 or 4(Both valid)
2. [15,17,2,3,5] Number of rotations: 3
*/
class HowManyTimesRotated {
final class HowManyTimesRotated {
private HowManyTimesRotated() {
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);