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/01/16 17:14:31 UTC
svn commit: r1821275 - in /pdfbox/branches/2.0: README.md
pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationMarkup.java
preflight/src/main/java/org/apache/pdfbox/preflight/action/AbstractActionManager.java
Author: tilman
Date: Tue Jan 16 17:14:31 2018
New Revision: 1821275
URL: http://svn.apache.org/viewvc?rev=1821275&view=rev
Log:
PDFBOX-2852: fix typo
Modified:
pdfbox/branches/2.0/README.md
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationMarkup.java
pdfbox/branches/2.0/preflight/src/main/java/org/apache/pdfbox/preflight/action/AbstractActionManager.java
Modified: pdfbox/branches/2.0/README.md
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/README.md?rev=1821275&r1=1821274&r2=1821275&view=diff
==============================================================================
--- pdfbox/branches/2.0/README.md (original)
+++ pdfbox/branches/2.0/README.md Tue Jan 16 17:14:31 2018
@@ -49,7 +49,7 @@ This will get you help from the entire c
The PDFBox examples and the test code in the sources will also provide additional information.
-And there are additonal resources available on sites such as
+And there are additional resources available on sites such as
[Stack Overflow](http://stackoverflow.com/search?q=pdfbox "Stack Overflow").
If you are sure you have found a bug the please report the issue in our
Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationMarkup.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationMarkup.java?rev=1821275&r1=1821274&r2=1821275&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationMarkup.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationMarkup.java Tue Jan 16 17:14:31 2018
@@ -25,7 +25,7 @@ import org.apache.pdfbox.cos.COSStream;
import org.apache.pdfbox.cos.COSString;
/**
- * This class represents the additonal fields of a Markup type Annotation. See section 12.5.6 of ISO32000-1:2008
+ * This class represents the additional fields of a Markup type Annotation. See section 12.5.6 of ISO32000-1:2008
* (starting with page 390) for details on annotation types.
*
* @author Paul King
Modified: pdfbox/branches/2.0/preflight/src/main/java/org/apache/pdfbox/preflight/action/AbstractActionManager.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/preflight/src/main/java/org/apache/pdfbox/preflight/action/AbstractActionManager.java?rev=1821275&r1=1821274&r2=1821275&view=diff
==============================================================================
--- pdfbox/branches/2.0/preflight/src/main/java/org/apache/pdfbox/preflight/action/AbstractActionManager.java (original)
+++ pdfbox/branches/2.0/preflight/src/main/java/org/apache/pdfbox/preflight/action/AbstractActionManager.java Tue Jan 16 17:14:31 2018
@@ -127,21 +127,21 @@ public abstract class AbstractActionMana
* Validate an Action dictionary.
*
* Return false if the dictionary is invalid (ex : missing key). If the ActionManager represents an
- * AdditionalAction, this method returns false and updates the error list when the additonalActionAuth parameter is
+ * AdditionalAction, this method returns false and updates the error list when the additionalActionAuth parameter is
* set to false.
*
* This method call the innerValid method to process specific checks according to the action type.
*
* If innerValid successes, all actions contained in the Next entry of the Action dictionary are validated.
*
- * @param additonalActionAuth
+ * @param additionalActionAuth
* boolean to know if an additional action is authorized.
* @return the validation state of the Action dictionary.
* @throws ValidationException
*/
- public boolean valid(boolean additonalActionAuth) throws ValidationException
+ public boolean valid(boolean additionalActionAuth) throws ValidationException
{
- if (isAdditionalAction() && !additonalActionAuth)
+ if (isAdditionalAction() && !additionalActionAuth)
{
context.addValidationError(new ValidationError(ERROR_ACTION_FORBIDDEN_ADDITIONAL_ACTION,
"Additional Action are forbidden"));