style: enable FinalClass in checkstyle (#5154)

This commit is contained in:
Godwill Christopher
2024-05-11 00:50:05 -06:00
committed by GitHub
parent 52f15b2b08
commit bbe4a025df
12 changed files with 12 additions and 12 deletions

View File

@ -12,7 +12,7 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Intersection {
public final class Intersection {
public static List<Integer> intersection(int[] arr1, int[] arr2) {
if (arr1 == null || arr2 == null || arr1.length == 0 || arr2.length == 0) {