You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2018/10/19 17:20:56 UTC
svn commit: r1844360 -
/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
Author: tilman
Date: Fri Oct 19 17:20:56 2018
New Revision: 1844360
URL: http://svn.apache.org/viewvc?rev=1844360&view=rev
Log:
PDFBOX-4343: correct bad grammar
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=1844360&r1=1844359&r2=1844360&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 Fri Oct 19 17:20:56 2018
@@ -219,7 +219,7 @@ public class PDDocument implements Close
* {@link #saveIncrementalForExternalSigning(OutputStream)} method description on external
* signature creation scenario details.
* <p>
- * Only one signature may be added at in a document. To sign several times,
+ * Only one signature may be added in a document. To sign several times,
* load document, add signature, save incremental and close again.
*
* @param sigObject is the PDSignatureField model
@@ -237,7 +237,7 @@ public class PDDocument implements Close
* {@link #saveIncrementalForExternalSigning(OutputStream)} method description on external
* signature creation scenario details.
* <p>
- * Only one signature may be added at in a document. To sign several times,
+ * Only one signature may be added in a document. To sign several times,
* load document, add signature, save incremental and close again.
*
* @param sigObject is the PDSignatureField model
@@ -254,7 +254,7 @@ public class PDDocument implements Close
/**
* Add a signature to be created using the instance of given interface.
* <p>
- * Only one signature may be added at in a document. To sign several times,
+ * Only one signature may be added in a document. To sign several times,
* load document, add signature, save incremental and close again.
*
* @param sigObject is the PDSignatureField model
@@ -274,7 +274,7 @@ public class PDDocument implements Close
* parameter is smaller than 0 or larger than max, the nearest valid page number will be used
* (i.e. 0 or max) and no exception will be thrown.
* <p>
- * Only one signature may be added at in a document. To sign several times,
+ * Only one signature may be added in a document. To sign several times,
* load document, add signature, save incremental and close again.
*
* @param sigObject is the PDSignatureField model
@@ -290,7 +290,7 @@ public class PDDocument implements Close
{
if (signatureAdded)
{
- throw new IllegalStateException("Only one signature may be added at in a document");
+ throw new IllegalStateException("Only one signature may be added in a document");
}
signatureAdded = true;