pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1831339 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/handlers/PDAbstractAppearanceHandler.java
Date Thu, 10 May 2018 13:25:22 GMT
Author: tilman
Date: Thu May 10 13:25:21 2018
New Revision: 1831339

URL: http://svn.apache.org/viewvc?rev=1831339&view=rev
Log:
PDFBOX-4071: fix typo

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/handlers/PDAbstractAppearanceHandler.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/handlers/PDAbstractAppearanceHandler.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/handlers/PDAbstractAppearanceHandler.java?rev=1831339&r1=1831338&r2=1831339&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/handlers/PDAbstractAppearanceHandler.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/handlers/PDAbstractAppearanceHandler.java
Thu May 10 13:25:21 2018
@@ -250,16 +250,16 @@ public abstract class PDAbstractAppearan
     private PDAppearanceEntry getNormalAppearance()
     {
         PDAppearanceDictionary appearanceDictionary = getAppearance();
-        PDAppearanceEntry normalAappearanceEntry = appearanceDictionary.getNormalAppearance();
+        PDAppearanceEntry normalAppearanceEntry = appearanceDictionary.getNormalAppearance();
 
-        if (normalAappearanceEntry.isSubDictionary())
+        if (normalAppearanceEntry.isSubDictionary())
         {
             //TODO replace with "document.getDocument().createCOSStream()" 
-            normalAappearanceEntry = new PDAppearanceEntry(new COSStream());
-            appearanceDictionary.setNormalAppearance(normalAappearanceEntry);
+            normalAppearanceEntry = new PDAppearanceEntry(new COSStream());
+            appearanceDictionary.setNormalAppearance(normalAppearanceEntry);
         }
 
-        return normalAappearanceEntry;
+        return normalAppearanceEntry;
     }
     
     



Mime
View raw message