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 2015/05/04 18:05:22 UTC

svn commit: r1677621 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestFDF.java

Author: tilman
Date: Mon May  4 16:05:22 2015
New Revision: 1677621

URL: http://svn.apache.org/r1677621
Log:
PDFBOX-2783: Use getCOSObject() instead of getCOSDictionary()

Modified:
    pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestFDF.java

Modified: pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestFDF.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestFDF.java?rev=1677621&r1=1677620&r2=1677621&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestFDF.java (original)
+++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestFDF.java Mon May  4 16:05:22 2015
@@ -224,7 +224,7 @@ public class TestFDF extends TestCase
                 //the appearance stream is suppose to be null because there
                 //is an F action in the AA dictionary that populates that field.
                 PDFieldTreeNode totalAmt = form.getField( "eeSuppTotalAmt" );
-                assertTrue( totalAmt.getDictionary().getDictionaryObject( COSName.AP ) == null );
+                assertTrue( totalAmt.getCOSObject().getDictionaryObject( COSName.AP ) == null );
     
             }
             finally