@@ -232,8 +232,7 @@ public class COSWriter implements ICOSVisitor
232232 /**
233233 * COSWriter constructor.
234234 *
235- * @param outputStream The output stream to write the PDF. It will be closed when this object is
236- * closed.
235+ * @param outputStream The output stream to write the PDF.
237236 */
238237 public COSWriter (OutputStream outputStream )
239238 {
@@ -243,7 +242,7 @@ public COSWriter(OutputStream outputStream)
243242 /**
244243 * COSWriter constructor.
245244 *
246- * @param outputStream The output stream to write the PDF. It will be closed when this object is closed.
245+ * @param outputStream The output stream to write the PDF.
247246 * @param compressParameters The configuration for the document's compression.
248247 */
249248 public COSWriter (OutputStream outputStream , CompressParameters compressParameters )
@@ -258,8 +257,7 @@ public COSWriter(OutputStream outputStream, CompressParameters compressParameter
258257 * {@link COSUpdateInfo#isNeedToBeUpdated()} set, starting from the document catalog. For signatures this is taken
259258 * care by PDFBox itself.
260259 *
261- * @param outputStream output stream where the new PDF data will be written. It will be closed when this object is
262- * closed.
260+ * @param outputStream output stream where the new PDF data will be written.
263261 * @param inputData random access read containing source PDF data
264262 *
265263 * @throws IOException if something went wrong
@@ -283,8 +281,7 @@ public COSWriter(OutputStream outputStream, RandomAccessRead inputData) throws I
283281 * dictionaries are supported; if you need to update other objects classes, then add their
284282 * parent dictionary.
285283 *
286- * @param outputStream output stream where the new PDF data will be written. It will be closed
287- * when this object is closed.
284+ * @param outputStream output stream where the new PDF data will be written.
288285 * @param inputData random access read containing source PDF data.
289286 * @param objectsToWrite objects that <b>must</b> be part of the incremental saving.
290287 * @throws IOException if something went wrong
0 commit comments