java - Is it OK ByteArrayOutputStream is not closed -


i reading following java file: https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/util/printtextlocations.java?revision=1709154&view=co

in linked code, bytearrayoutputstream initialized not closed, ok? in opinion, bytearrayoutputstream closeable, should closed eventually

read javadoc:

closing bytearrayoutputstream has no effect.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -