Skip to content

Commit 5472f68

Browse files
committed
Javadoc
1 parent 1c00955 commit 5472f68

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,7 @@ public T borrowObject() throws Exception {
271271
* available instances in request arrival order.
272272
* </p>
273273
*
274-
* @param borrowMaxWaitDuration The time to wait for an object
275-
* to become available
274+
* @param borrowMaxWaitDuration The time to wait for an object to become available, not null.
276275
* @return object instance from the pool
277276
* @throws NoSuchElementException if an instance cannot be returned
278277
* @throws Exception if an object instance cannot be returned due to an error

0 commit comments

Comments
 (0)