code: public static List<FileFilter> adapt(final List<Filter<File>> toAdapt) {
  
          final List<FileFilter> toReturn = new ArrayList<FileFilter>();
          if (toAdapt != null) {
              for (Filter<File> current : toAdapt) {
                  toReturn.add(adapt(current));
              }
          }
  
          // All done.
          return toReturn;
      }
docs: Adapts the supplied List of Filter specifications to a List of FileFilters.
  
  @param toAdapt The List of Filters to adapts.
  @return A List holding FileFilter instances. If {@code toAdapt} is {@code null} or empty, an empty list is
  returned from this method. Thus, this method will never return a {@code null} value.