package com.janosgyerik.dupfinder.finder;

import java.io.File;
import java.io.FileFilter;
import java.util.List;

public interface FileFinder {

    /**
     * Find files, by searching recursively through a directory tree.
     *
     * @param basedir The base directory to start searching
     * @param fileFilter A filter to decide which files to include
     * @return list of matching files found
     */
    List<File> find(File basedir, FileFilter fileFilter, int depth);

    List<File> find(File basedir, FileFilter fileFilter);

    List<File> find(File basedir, int depth);

    List<File> find(File basedir);
}

@@ -458,30 +458,35 @@
 leFilter
-, int depth);%0A
+);%0A%0A    @Deprecated
 %0A    Lis
@@ -529,27 +529,54 @@
 r fileFilter
-);%0A
+, int depth);%0A%0A    @Deprecated
 %0A    List%3CFi
@@ -607,24 +607,40 @@
 nt depth);%0A%0A
+    @Deprecated%0A
     List%3CFil

mark the FileFinder.find methods with depth param and no filter param deprecated