code: public static List<IFileCompareResultBean> findEqualFiles(final File source, final File compare)
  	{
  		final List<File> allSourceFiles = FileSearchExtensions.findFilesRecursive(source, "*");
  		final List<File> allCompareFiles = FileSearchExtensions.findFilesRecursive(compare, "*");
  		final List<IFileCompareResultBean> equalFiles = new ArrayList<IFileCompareResultBean>();
  		for (int i = 0; i < allSourceFiles.size(); i++)
  		{
  			final File toCompare = allSourceFiles.get(i);
  			for (int j = 0; j < allCompareFiles.size(); j++)
  			{
  				final File file = allCompareFiles.get(j);
  				if (toCompare.equals(file))
  				{
  					continue;
  				}
  				final IFileCompareResultBean compareResultBean = CompareFileExtensions
  					.simpleCompareFiles(toCompare, file);
  				final boolean equal = CompareFileExtensions.validateEquality(compareResultBean);
  				// if equal is true and the list does not contain the same
  				// compareResultBean then add it.
  				if (equal && !equalFiles.contains(compareResultBean))
  				{
  					equalFiles.add(compareResultBean);
  				}
  			}
  		}
  		return equalFiles;
  	}
docs: Find equal files from the given directories.
  
  @param source
  the source directory.
  @param compare
  the directory compare.
  
  @return the list with the result beans