pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1677621 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestFDF.java
Date Mon, 04 May 2015 16:05:22 GMT
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



Mime
View raw message