pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1820456 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
Date Sun, 07 Jan 2018 13:25:48 GMT
Author: tilman
Date: Sun Jan  7 13:25:48 2018
New Revision: 1820456

URL: http://svn.apache.org/viewvc?rev=1820456&view=rev
Log:
PDFBOX-4028: improve javadoc that destination stream should not point to source

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java?rev=1820456&r1=1820455&r2=1820456&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java Sun Jan  7
13:25:48 2018
@@ -1273,7 +1273,7 @@ public class PDDocument implements Close
      * Save the PDF as an incremental update. This is only possible if the PDF was loaded
from a
      * file or a stream, not if the document was created in PDFBox itself.
      *
-     * @param output stream to write
+     * @param output stream to write. It should <i><b>not</b></i>
point to the source file.
      * @throws IOException if the output could not be written
      * @throws IllegalStateException if the document was not loaded from a file or a stream.
      */
@@ -1317,7 +1317,7 @@ public class PDDocument implements Close
      * {@code PDDocument} instance and only AFTER {@link ExternalSigningSupport} instance
is used.
      * </p>
      *
-     * @param output stream to write final PDF
+     * @param output stream to write final PDF. It should <i><b>not</b></i>
point to the source file.
      * @return instance to be used for external signing and setting CMS signature
      * @throws IOException if the output could not be written
      * @throws IllegalStateException if the document was not loaded from a file or a stream
or



Mime
View raw message