mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-26 07:35:39 +00:00
[HER-1814] remove dependency on apache commons-pool/GenericObjectPool
* WriterPoolMember.java
fix ops broken by removal of checkSize at preWriteRecordTasks -- still create if out == null
This commit is contained in:
@@ -352,6 +352,9 @@ public abstract class WriterPoolMember implements ArchiveFileConstants {
|
||||
*/
|
||||
protected void preWriteRecordTasks()
|
||||
throws IOException {
|
||||
if (this.out == null) {
|
||||
createFile();
|
||||
}
|
||||
if (this.compressed) {
|
||||
// Wrap stream in GZIP Writer.
|
||||
// The below construction immediately writes the GZIP 'default'
|
||||
|
||||
Reference in New Issue
Block a user