You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2009/05/13 21:56:29 UTC

svn commit: r774502 - /maven/components/branches/MNG-2766/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

Author: jvanzyl
Date: Wed May 13 19:56:25 2009
New Revision: 774502

URL: http://svn.apache.org/viewvc?rev=774502&view=rev
Log:
o fix by igor to keep the heap down.

Modified:
    maven/components/branches/MNG-2766/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

Modified: maven/components/branches/MNG-2766/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/MNG-2766/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java?rev=774502&r1=774501&r2=774502&view=diff
==============================================================================
--- maven/components/branches/MNG-2766/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java (original)
+++ maven/components/branches/MNG-2766/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java Wed May 13 19:56:25 2009
@@ -59,6 +59,15 @@
         testMixinDirectory = new File( getBasedir(), BASE_MIXIN_DIR );
         mavenProjectBuilder = (DefaultMavenProjectBuilder) lookup( MavenProjectBuilder.class );
     }
+    
+    @Override
+    protected void tearDown()
+        throws Exception
+    {
+        mavenProjectBuilder = null;
+
+        super.tearDown();
+    }
 
     /**
      * Will throw exception if url is empty. MNG-4050