cleanup
This commit is contained in:
parent
b5423f3434
commit
03a8f45128
3 changed files with 50 additions and 55 deletions
|
@ -137,7 +137,4 @@ public class SplitPdfBySectionsController {
|
|||
|
||||
return splitDocuments;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -2,11 +2,11 @@ package stirling.software.SPDF.controller.api.pipeline;
|
|||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.InputStream;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipOutputStream;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
@ -82,7 +82,6 @@ public class PipelineController {
|
|||
return null;
|
||||
}
|
||||
|
||||
|
||||
// Create a ByteArrayOutputStream to hold the zip
|
||||
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
ZipOutputStream zipOut = new ZipOutputStream(baos);
|
||||
|
|
|
@ -248,7 +248,6 @@ public class PipelineProcessor {
|
|||
return newOutputFiles;
|
||||
}
|
||||
|
||||
|
||||
public String extractFilename(ResponseEntity<byte[]> response) {
|
||||
String filename = "default-filename.ext"; // Default filename if not found
|
||||
|
||||
|
|
Loading…
Reference in a new issue