@Override
    protected void countDirectory(Path dir, BasicFileAttributes attrs) {
      if (indicator != null) indicator.checkCanceled();
      lastUpdated = Math.max(lastUpdated, attrs.lastModifiedTime().toMillis());
      entriesToDelete++;
    }
@Override
    protected void countDirectory(Path dir, BasicFileAttributes attrs)