mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Moved private method inline.
This commit is contained in:
@@ -76,16 +76,12 @@ public class FileUtils {
|
||||
}
|
||||
|
||||
public static void delete(File f) throws IOException {
|
||||
if(f.isDirectory() && !isSymlink(f)) {
|
||||
if(f.isDirectory() && !org.apache.commons.io.FileUtils.isSymlink(f)) {
|
||||
for(File child : f.listFiles()) delete(child);
|
||||
}
|
||||
f.delete();
|
||||
}
|
||||
|
||||
private static boolean isSymlink(File f) throws IOException {
|
||||
return org.apache.commons.io.FileUtils.isSymlink(f);
|
||||
}
|
||||
|
||||
public interface Callback {
|
||||
|
||||
void processingFile(File f);
|
||||
|
||||
Reference in New Issue
Block a user