aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/pdf/PDFImageHandlerRawCCITTFax.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/render/pdf/PDFImageHandlerRawCCITTFax.java')
-rw-r--r--src/java/org/apache/fop/render/pdf/PDFImageHandlerRawCCITTFax.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/java/org/apache/fop/render/pdf/PDFImageHandlerRawCCITTFax.java b/src/java/org/apache/fop/render/pdf/PDFImageHandlerRawCCITTFax.java
index 158e93c86..1ba498ff0 100644
--- a/src/java/org/apache/fop/render/pdf/PDFImageHandlerRawCCITTFax.java
+++ b/src/java/org/apache/fop/render/pdf/PDFImageHandlerRawCCITTFax.java
@@ -41,10 +41,6 @@ public class PDFImageHandlerRawCCITTFax implements PDFImageHandler {
ImageFlavor.RAW_CCITTFAX,
};
- private static final Class[] CLASSES = new Class[] {
- ImageRawCCITTFax.class,
- };
-
/** {@inheritDoc} */
public PDFXObject generateImage(RendererContext context, Image image,
Point origin, Rectangle pos)
@@ -74,8 +70,8 @@ public class PDFImageHandlerRawCCITTFax implements PDFImageHandler {
}
/** {@inheritDoc} */
- public Class[] getSupportedImageClasses() {
- return CLASSES;
+ public Class getSupportedImageClass() {
+ return ImageRawCCITTFax.class;
}
/** {@inheritDoc} */