You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by pb...@apache.org on 2004/01/25 03:53:21 UTC
cvs commit: xml-fop/src/java/org/apache/fop/pool FopPool.java
pbwest 2004/01/24 18:53:21
Modified: src/java/org/apache/fop/pool Tag: FOP_0-20-0_Alt-Design
FopPool.java
Log:
Switch to java.util.logging
Revision Changes Path
No revision
No revision
1.1.2.3 +7 -6 xml-fop/src/java/org/apache/fop/pool/Attic/FopPool.java
Index: FopPool.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/pool/Attic/FopPool.java,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -r1.1.2.2 -r1.1.2.3
--- FopPool.java 20 Jan 2004 05:45:54 -0000 1.1.2.2
+++ FopPool.java 25 Jan 2004 02:53:21 -0000 1.1.2.3
@@ -55,8 +55,7 @@
import java.util.ArrayList;
import java.util.BitSet;
-
-import org.apache.fop.messaging.MessageHandler;
+import java.util.logging.Logger;
/**
* This class provides a pool of <tt>Poolable</tt> objects.
@@ -66,6 +65,8 @@
private static final String tag = "$Name$";
private static final String revision = "$Revision$";
+
+ protected static final Logger logger = Logger.getLogger("org.apache.fop");
/** The pool realized as a ArrayList. */
protected final ArrayList pool;
@@ -122,7 +123,7 @@
public synchronized void relinquishPoolable(Poolable ev) {
if (ev == null) return;
if (eventSet.get(ev.id)) {
- MessageHandler.logln
+ logger.warning
("Event clash in Poolable pool. Id " + ev.id);
return;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org