in modules/vfs-class-loader/src/main/java/org/apache/accumulo/classloader/vfs/UniqueFileReplicator.java [90:104]
public void close() {
synchronized (tmpFiles) {
for (File tmpFile : tmpFiles) {
if (!tmpFile.delete())
System.out.println("File does not exist: " + tmpFile.getAbsolutePath());
}
}
if (tempDir.exists()) {
String[] list = tempDir.list();
int numChildren = list == null ? 0 : list.length;
if (numChildren == 0 && !tempDir.delete())
System.out.println("Cannot delete empty directory: " + tempDir.getAbsolutePath());
}
}