diff options
author | Jeremias Maerki <jeremias@apache.org> | 2004-04-02 09:15:16 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2004-04-02 09:15:16 +0000 |
commit | 59019477e8e889b07db387c538570d93c355f1b8 (patch) | |
tree | a4e3c480a33d78a40746036de25763a2112e56f9 /src/java/org/apache/fop/pdf/PDFInfo.java | |
parent | ee49a2515ca927e7f51e4f3e0efb773d945e2acc (diff) | |
download | xmlgraphics-fop-59019477e8e889b07db387c538570d93c355f1b8.tar.gz xmlgraphics-fop-59019477e8e889b07db387c538570d93c355f1b8.zip |
Changed logging to use "static" loggers from Jakarta Commons Logging (via LogFactory).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197479 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/pdf/PDFInfo.java')
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFInfo.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFInfo.java b/src/java/org/apache/fop/pdf/PDFInfo.java index a80da22bf..e9833082c 100644 --- a/src/java/org/apache/fop/pdf/PDFInfo.java +++ b/src/java/org/apache/fop/pdf/PDFInfo.java @@ -153,7 +153,7 @@ public class PDFInfo extends PDFObject { bout.write(encode("\n")); // creation date in form (D:YYYYMMDDHHmmSSOHH'mm') - if(creationDate==null) { + if (creationDate == null) { creationDate = new Date(); } final SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss"); @@ -162,7 +162,7 @@ public class PDFInfo extends PDFObject { bout.write(encodeString("D:" + str)); bout.write(encode("\n>>\nendobj\n")); } catch (IOException ioe) { - getDocumentSafely().getLogger().error("Ignored I/O exception", ioe); + log.error("Ignored I/O exception", ioe); } return bout.toByteArray(); } |