siddiqueirshad opened a new pull request, #461:
URL: https://github.com/apache/commons-pool/pull/461

   ## Summary
   
   1. In `PoolUtils.checkMinIdle(final ObjectPool<T, E> pool, final int 
minIdle, final long periodMillis)`, when `pool` is null, the method threw 
`IllegalArgumentException(MSG_NULL_KEYED_POOL)` ("keyedPool must not be null.") 
instead of `MSG_NULL_POOL` ("pool must not be null."). This PR corrects the 
message constant and asserts it in `TestPoolUtils.testCheckMinIdleObjectPool`.
   2. In `KeyedObjectPool.addObjects(final Collection<K> keys, final int 
count)`, removed `keyedPool` from `@throws IllegalArgumentException when {@code 
keyedPool}, {@code keys}, or any value...` since `keyedPool` is not a parameter 
on this instance method.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to