mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-15 10:20:47 +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:
1 parent
8d1083922d
commit
790469280e
1 file changed
+3
@@ -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