|
|
@ -208,7 +208,7 @@ public class BLOBArray implements BLOB {
|
|
|
|
// too old
|
|
|
|
// too old
|
|
|
|
blobItem oldestBLOB = blobs.remove(0);
|
|
|
|
blobItem oldestBLOB = blobs.remove(0);
|
|
|
|
oldestBLOB.blob.close();
|
|
|
|
oldestBLOB.blob.close();
|
|
|
|
oldestBLOB.location.delete();
|
|
|
|
if (!oldestBLOB.location.delete()) oldestBLOB.location.deleteOnExit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// size limit
|
|
|
|
// size limit
|
|
|
@ -216,7 +216,7 @@ public class BLOBArray implements BLOB {
|
|
|
|
// too large
|
|
|
|
// too large
|
|
|
|
blobItem oldestBLOB = blobs.remove(0);
|
|
|
|
blobItem oldestBLOB = blobs.remove(0);
|
|
|
|
oldestBLOB.blob.close();
|
|
|
|
oldestBLOB.blob.close();
|
|
|
|
oldestBLOB.location.delete();
|
|
|
|
if (!oldestBLOB.location.delete()) oldestBLOB.location.deleteOnExit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|