pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1682355 - /pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateSignature.java
Date Thu, 28 May 2015 23:15:43 GMT
Author: tilman
Date: Thu May 28 23:15:43 2015
New Revision: 1682355

URL: http://svn.apache.org/r1682355
Log:
PDFBOX-2576: revert last change because of build error

Modified:
    pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateSignature.java

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateSignature.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateSignature.java?rev=1682355&r1=1682354&r2=1682355&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateSignature.java
(original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateSignature.java
Thu May 28 23:15:43 2015
@@ -34,6 +34,7 @@ import java.security.UnrecoverableKeyExc
 import java.security.cert.Certificate;
 import java.util.ArrayList;
 import java.util.Calendar;
+import java.util.Collection;
 import java.util.Enumeration;
 import java.util.List;
 
@@ -189,7 +190,7 @@ public class CreateSignature implements
         SignerInformationStore signerStore = signedData.getSignerInfos();
         List<SignerInformation> newSigners = new ArrayList<SignerInformation>();
 
-        for (SignerInformation signer : signerStore.getSigners())
+        for (SignerInformation signer : (Collection<SignerInformation>)signerStore.getSigners())
         {
             newSigners.add(signTimeStamp(signer));
         }



Mime
View raw message