pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1781123 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDFTemplateCreator.java
Date Tue, 31 Jan 2017 16:52:08 GMT
Author: tilman
Date: Tue Jan 31 16:52:08 2017
New Revision: 1781123

URL: http://svn.apache.org/viewvc?rev=1781123&view=rev
Log:
PDFBOX-2852: respect naming conventions

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDFTemplateCreator.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDFTemplateCreator.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDFTemplateCreator.java?rev=1781123&r1=1781122&r2=1781123&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDFTemplateCreator.java
(original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDFTemplateCreator.java
Tue Jan 31 16:52:08 2017
@@ -44,7 +44,7 @@ import org.apache.pdfbox.pdmodel.interac
 public class PDFTemplateCreator
 {
     private final PDFTemplateBuilder pdfBuilder;
-    private static final Log logger = LogFactory.getLog(PDFTemplateCreator.class);
+    private static final Log LOG = LogFactory.getLog(PDFTemplateCreator.class);
 
     /**
      * Constructor.
@@ -75,7 +75,7 @@ public class PDFTemplateCreator
      */
     public InputStream buildPDF(PDVisibleSignDesigner properties) throws IOException
     {
-        logger.info("pdf building has been started");
+        LOG.info("pdf building has been started");
         PDFTemplateStructure pdfStructure = pdfBuilder.getStructure();
 
         // we create array of [Text, ImageB, ImageC, ImageI]
@@ -160,7 +160,7 @@ public class PDFTemplateCreator
         pdfBuilder.createWidgetDictionary(pdSignatureField, holderFormResources);
         
         InputStream in = getVisualSignatureAsStream(pdfStructure.getVisualSignature());
-        logger.info("stream returning started, size= " + in.available());
+        LOG.info("stream returning started, size= " + in.available());
         
         // we must close the document
         template.close();



Mime
View raw message