THausherr commented on pull request #107: URL: https://github.com/apache/pdfbox/pull/107#issuecomment-846614634
> private constructor of PDStream. If input will be null then NPE will be thrown inside a row "IOUtils.copy(input, output);" (137). And redurant closing of stream. IMHO, the input should be closed outside. Thanks, but I've removed the null check instead. The javadoc mentions that the methods do close the input stream. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
