From 78d725431cb50e47d2c00ab9e476836a009ca071 Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Fri, 16 Oct 2009 13:37:13 +0000 Subject: [PATCH] From bug #47999 - avoid un-needed call to the JVM Garbage Collector when working on OOXML OPC Packages git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@825890 13f79535-47bb-0310-9956-ffa450edef68 --- src/documentation/content/xdocs/status.xml | 1 + src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index fc951bf2b..dac810ede 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -33,6 +33,7 @@ + 47999 - avoid un-needed call to the JVM Garbage Collector when working on OOXML OPC Packages 47922 - added example HSMF application that converts a .msg file to text and extracts attachments 47903 - added Ant target to compile scratchpad examples 47839 - improved API for OOXML custom properties diff --git a/src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java b/src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java index 0f53bc402..2c0ae83d3 100644 --- a/src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java +++ b/src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java @@ -374,9 +374,6 @@ public abstract class OPCPackage implements RelationshipSource { // Clear this.contentTypeManager.clearAll(); - - // Call the garbage collector - Runtime.getRuntime().gc(); } /**