You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by tk...@apache.org on 2002/04/17 11:47:38 UTC
cvs commit: xml-batik/sources/org/apache/batik/bridge BridgeContext.java
tkormann 02/04/17 02:47:38
Modified: sources/org/apache/batik/bridge BridgeContext.java
Log:
remove useless code as it was not the right way to track leaks.
Revision Changes Path
1.44 +1 -23 xml-batik/sources/org/apache/batik/bridge/BridgeContext.java
Index: BridgeContext.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/BridgeContext.java,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- BridgeContext.java 21 Mar 2002 09:39:17 -0000 1.43
+++ BridgeContext.java 17 Apr 2002 09:47:38 -0000 1.44
@@ -66,7 +66,7 @@
* a SVG DOM tree such as the current viewport or the user agent.
*
* @author <a href="mailto:Thierry.Kormann@sophia.inria.fr">Thierry Kormann</a>
- * @version $Id: BridgeContext.java,v 1.43 2002/03/21 09:39:17 tkormann Exp $
+ * @version $Id: BridgeContext.java,v 1.44 2002/04/17 09:47:38 tkormann Exp $
*/
public class BridgeContext implements ErrorConstants, CSSContext {
@@ -173,10 +173,6 @@
*/
private static InterpreterPool sharedPool = new InterpreterPool();
- //static int total;
- //static int alive;
- //int number;
-
/**
* Constructs a new bridge context.
* @param userAgent the user agent
@@ -212,25 +208,7 @@
this.documentLoader = documentLoader;
documentLoader.setBridgeContext(this);
registerSVGBridges(this);
-
- // start debug leak
- /*
- total++;
- alive++;
- number = total;
- System.out.println("--- Create BridgeContext #"+number+" alive: "+alive);
- // end debug leak
- */
- }
-
- /* start debug leak
- protected void finalize() throws Throwable {
- super.finalize();
- alive--;
- System.out.println("--- BridgeContext #"+number+" goes to GC. left: "+alive);
}
- // end debug leak
- */
/**
* Initializes the given document.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org