You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2016/05/31 05:14:47 UTC

svn commit: r1746225 - /commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java

Author: ggregory
Date: Tue May 31 05:14:47 2016
New Revision: 1746225

URL: http://svn.apache.org/viewvc?rev=1746225&view=rev
Log:
Javadoc: Use the active voice.

Modified:
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java?rev=1746225&r1=1746224&r2=1746225&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java Tue May 31 05:14:47 2016
@@ -38,7 +38,7 @@ import org.apache.commons.beanutils.loca
 import junit.framework.TestCase;
 
 /**
- * Test BeanUtils memory leaks.
+ * Tests BeanUtils memory leaks.
  *
  * See https://issues.apache.org/jira/browse/BEANUTILS-291
  *
@@ -432,7 +432,7 @@ public class MemoryLeakTestCase extends
     }
 
     /**
-     * Clear all the BeanUtils Caches manually.
+     * Clears all the BeanUtils Caches manually.
      *
      * This is probably overkill, but since we're dealing with static caches
      * it seems sensible to ensure that all test cases start with a clean sheet.
@@ -459,7 +459,7 @@ public class MemoryLeakTestCase extends
     }
 
     /**
-     * Try to force the garbage collector to run by filling up memory and calling System.gc().
+     * Tries to force the garbage collector to run by filling up memory and calling System.gc().
      */
     private void forceGarbageCollection() throws Exception {
         // Fill up memory
@@ -493,7 +493,7 @@ public class MemoryLeakTestCase extends
     }
 
     /**
-     * Create a new class loader instance.
+     * Creates a new class loader instance.
      */
     private static URLClassLoader newClassLoader() throws MalformedURLException {
 
@@ -518,7 +518,7 @@ public class MemoryLeakTestCase extends
     }
 
     /**
-     * Produce a profiler report about where the leaks are.
+     * Produces a profiler report about where the leaks are.
      *
      * This requires JBoss's profiler be installed, see:
      *     http://labs.jboss.com/jbossprofiler/
@@ -538,7 +538,7 @@ public class MemoryLeakTestCase extends
     }
 
     /**
-     * Get the total, free, used memory stats.
+     * Gets the total, free, used memory stats.
      * @return the total, free, used memory stats
      */
     private String getMemoryStats() {