diff options
author | Glen Mazza <gmazza@apache.org> | 2004-03-31 10:55:07 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-03-31 10:55:07 +0000 |
commit | a054ab3b7e22af6c163b5d68c04bf5868958a59e (patch) | |
tree | 158b4e54cf28f6dd1926de530309ffc2b1ceb3d4 /src/java/org/apache/fop/image/JimiImage.java | |
parent | b0ef412c716311de35850f0d6ae56a1b7f7d8acf (diff) | |
download | xmlgraphics-fop-a054ab3b7e22af6c163b5d68c04bf5868958a59e.tar.gz xmlgraphics-fop-a054ab3b7e22af6c163b5d68c04bf5868958a59e.zip |
PR:
Obtained from:
Submitted by:
Reviewed by:
Conversion of Avalon to Commons-Logger. (Will still need to update the
examples, which I will take care of next; Jeremias will be modifying
the PDF libraries for more efficient use of the CL loggers.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197474 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/image/JimiImage.java')
-rw-r--r-- | src/java/org/apache/fop/image/JimiImage.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/image/JimiImage.java b/src/java/org/apache/fop/image/JimiImage.java index c64055d45..ab07e8ecf 100644 --- a/src/java/org/apache/fop/image/JimiImage.java +++ b/src/java/org/apache/fop/image/JimiImage.java @@ -28,8 +28,7 @@ import java.awt.Color; // Jimi import com.sun.jimi.core.Jimi; -// Avalon -import org.apache.avalon.framework.logger.Logger; +import org.apache.commons.logging.Log; /** * FopImage object for several images types, using Jimi. @@ -49,7 +48,7 @@ public class JimiImage extends AbstractFopImage { } } - protected boolean loadDimensions(Logger logger) { + protected boolean loadDimensions(Log logger) { if (this.bitmaps == null) { loadImage(logger); } @@ -60,7 +59,7 @@ public class JimiImage extends AbstractFopImage { /** * @see org.apache.fop.image.AbstractFopImage#loadBitmap(Logger) */ - protected boolean loadBitmap(Logger logger) { + protected boolean loadBitmap(Log logger) { if (this.bitmaps == null) { loadImage(logger); } @@ -68,7 +67,7 @@ public class JimiImage extends AbstractFopImage { return this.bitmaps != null; } - protected void loadImage(Logger log) { + protected void loadImage(Log log) { int[] tmpMap = null; try { ImageProducer ip = |