mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
style: enable HideUtilityClassConstructor in checkstyle (#5147)
This commit is contained in:
@@ -32,7 +32,9 @@ import java.util.List;
|
||||
* queen is not placed safely. If there is no such way then return an empty list
|
||||
* as solution
|
||||
*/
|
||||
public class NQueens {
|
||||
public final class NQueens {
|
||||
private NQueens() {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
placeQueens(1);
|
||||
|
||||
Reference in New Issue
Block a user