pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r1688695 - /pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/fdf/SetField.java
Date Wed, 01 Jul 2015 17:33:46 GMT
Author: msahyoun
Date: Wed Jul  1 17:33:46 2015
New Revision: 1688695

URL: http://svn.apache.org/r1688695
Log:
PDFBOX-2849: update example

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

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/fdf/SetField.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/fdf/SetField.java?rev=1688695&r1=1688694&r2=1688695&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/fdf/SetField.java (original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/fdf/SetField.java Wed Jul
 1 17:33:46 2015
@@ -54,7 +54,7 @@ public class SetField
         {
             if (field instanceof PDCheckbox)
             {
-                ((PDCheckbox) field).setValue(value.equals("Yes"));
+                ((PDCheckbox) field).setValue("Yes");
             }
             else if (field instanceof PDComboBox)
             {



Mime
View raw message