Lines Matching refs:f2
174 void compare(File f1, File f2) throws IOException {
175 if (f1.isFile() && f2.isFile())
176 compareFiles(f1, f2);
177 else if (f1.isDirectory() && f2.isDirectory())
178 compareDirectories(f1, f2);
182 + f2 + " (" + getFileType(f2) + ")");
193 void compareFiles(File f1, File f2) throws IOException {
195 byte[] c2 = readFile(f2);
197 error("files differ: " + f1 + ", " + f2);