public static boolean tasksEqual(Task @NotNull [] task1, Task @NotNull [] task2) {
    return tasksEqual(Arrays.asList(task1), Arrays.asList(task2));
  }
public static boolean tasksEqual(Task @NotNull [] task1, Task @NotNull [] task2)