You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2009/08/13 23:15:25 UTC

svn commit: r804030 - /maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java

Author: hboutemy
Date: Thu Aug 13 21:15:25 2009
New Revision: 804030

URL: http://svn.apache.org/viewvc?rev=804030&view=rev
Log:
free memory once report has been generated

Modified:
    maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java

Modified: maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java?rev=804030&r1=804029&r2=804030&view=diff
==============================================================================
--- maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java (original)
+++ maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java Thu Aug 13 21:15:25 2009
@@ -452,6 +452,9 @@
         if ( result != null )
         {
             generateReport( locale, result );
+            // free memory
+            result = null;
+            linkCheck = null;
         }
     }