pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r1730850 - /pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/SetField.java
Date Wed, 17 Feb 2016 15:03:09 GMT
Author: msahyoun
Date: Wed Feb 17 15:03:09 2016
New Revision: 1730850

URL: http://svn.apache.org/viewvc?rev=1730850&view=rev
Log:
PDFBOX-3234: commit omitted file 

Modified:
    pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/SetField.java

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/SetField.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/SetField.java?rev=1730850&r1=1730849&r2=1730850&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/SetField.java
(original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/SetField.java
Wed Feb 17 15:03:09 2016
@@ -21,7 +21,7 @@ import java.io.IOException;
 import org.apache.pdfbox.pdmodel.PDDocument;
 import org.apache.pdfbox.pdmodel.PDDocumentCatalog;
 import org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm;
-import org.apache.pdfbox.pdmodel.interactive.form.PDCheckbox;
+import org.apache.pdfbox.pdmodel.interactive.form.PDCheckBox;
 import org.apache.pdfbox.pdmodel.interactive.form.PDComboBox;
 import org.apache.pdfbox.pdmodel.interactive.form.PDField;
 import org.apache.pdfbox.pdmodel.interactive.form.PDListBox;
@@ -52,7 +52,7 @@ public class SetField
         PDField field = acroForm.getField(name);
         if (field != null)
         {
-            if (field instanceof PDCheckbox)
+            if (field instanceof PDCheckBox)
             {
                 field.setValue("Yes");
             }



Mime
View raw message