From 8fae8256b6e3ad9cf94c47bec4d7d27108360715 Mon Sep 17 00:00:00 2001 From: Joerg Pietschmann Date: Mon, 24 Feb 2003 19:55:46 +0000 Subject: [PATCH] provide a protected constructor to FopImageFactory so that it can't be instantiated (all methods are static). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@195979 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/image/FopImageFactory.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/org/apache/fop/image/FopImageFactory.java b/src/org/apache/fop/image/FopImageFactory.java index 2ac177ae7..d69fefe52 100644 --- a/src/org/apache/fop/image/FopImageFactory.java +++ b/src/org/apache/fop/image/FopImageFactory.java @@ -27,6 +27,8 @@ import java.util.Map; * @author Eric SCHAEFFER */ public class FopImageFactory { + // prevent instantiation + protected FopImageFactory() {} private static Map m_urlMap = new java.util.HashMap(); -- 2.39.5