commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1587103 - /commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TestConnectionPool.java
Date Sun, 13 Apr 2014 21:51:12 GMT
Author: sebb
Date: Sun Apr 13 21:51:12 2014
New Revision: 1587103

URL: http://svn.apache.org/r1587103
Log:
FIx invalid Javadoc "tags"

Modified:
    commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TestConnectionPool.java

Modified: commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TestConnectionPool.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TestConnectionPool.java?rev=1587103&r1=1587102&r2=1587103&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TestConnectionPool.java
(original)
+++ commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TestConnectionPool.java
Sun Apr 13 21:51:12 2014
@@ -695,9 +695,9 @@ public abstract class TestConnectionPool
 
     /**
      * Launches a group of 2 * getMaxTotal() threads, each of which will attempt to obtain
a connection
-     * from the pool, hold it for <holdTime> ms, and then return it to the pool.  If
<loopOnce> is false,
-     * threads will continue this process indefinitely.  If <expectError> is true,
exactly 1/2 of the
-     * threads are expected to either throw exceptions or fail to complete. If <expectError>
is false,
+     * from the pool, hold it for {@code holdTime} ms, and then return it to the pool.  If
{@code loopOnce} is false,
+     * threads will continue this process indefinitely.  If {@code expectError} is true,
exactly 1/2 of the
+     * threads are expected to either throw exceptions or fail to complete. If {@code expectError}
is false,
      * all threads are expected to complete successfully.
      *
      * @param holdTime time in ms that a thread holds a connection before returning it to
the pool
@@ -714,11 +714,11 @@ public abstract class TestConnectionPool
     }
     
     /**
-     * Launches a group of <numThreads> threads, each of which will attempt to obtain
a connection
-     * from the pool, hold it for <holdTime> ms, and then return it to the pool.  If
<loopOnce> is false,
-     * threads will continue this process indefinitely.  If <expectError> is true,
exactly 1/2 of the
-     * threads are expected to either throw exceptions or fail to complete. If <expectError>
is false,
-     * all threads are expected to complete successfully.  Threads are stopped after <duration>
ms.
+     * Launches a group of {@code numThreads} threads, each of which will attempt to obtain
a connection
+     * from the pool, hold it for {@code holdTime} ms, and then return it to the pool.  If
{@code loopOnce} is false,
+     * threads will continue this process indefinitely.  If {@code expectError} is true,
exactly 1/2 of the
+     * threads are expected to either throw exceptions or fail to complete. If {@code expectError}
is false,
+     * all threads are expected to complete successfully.  Threads are stopped after {@code
duration} ms.
      *
      * @param holdTime time in ms that a thread holds a connection before returning it to
the pool
      * @param expectError whether or not an error is expected



Mime
View raw message