@Override
  public List<LocalTask> getLocalTasks(final boolean withClosed) {
    synchronized (myTasks) {
      return ContainerUtil.filter(myTasks.values(), task -> withClosed || !isLocallyClosed(task));
    }
  }
@Override
  public List<LocalTask> getLocalTasks(final boolean withClosed)