Issue Details (XML | Word | Printable)

Key: POOL-116
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Phil Steitz
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Pool

GenericKeyedObjecPool(factory, Config) constructor ignores minIdle setting in Config

Created: 18/Dec/07 06:57 AM   Updated: 20/Dec/07 01:32 AM
Return to search
Component/s: None
Affects Version/s: 1.3
Fix Version/s: 1.4

Time Tracking:
Not Specified

Resolution Date: 20/Dec/07 01:32 AM


 Description  « Hide
The GenericKeyedObjectPool constructor that takes a GenericKeyedObjectPool.Config object as an argument does not use the minIdle field in the Config, resulting in the default value being set.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #605105 Tue Dec 18 07:06:18 UTC 2007 psteitz Fixed an error in the GenericKeyedObjectPool constructor that takes
a Config instance as a parameter. The minIdle setting in the Config
was being ignored by the constructor. Also added tests for all
GKOP constructors.

JIRA: POOL-116
Files Changed
MODIFY /commons/proper/pool/branches/1_4_RELEASE_BRANCH/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
MODIFY /commons/proper/pool/branches/1_4_RELEASE_BRANCH/xdocs/changes.xml
MODIFY /commons/proper/pool/branches/1_4_RELEASE_BRANCH/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java

Repository Revision Date User Message
ASF #605782 Thu Dec 20 01:32:20 UTC 2007 psteitz Ported changes from 1.4 release branch to fix an error in the
GenericKeyedObjectPool constructor that takes
a Config instance as a parameter. The minIdle setting in the Config
was being ignored by the constructor. Also added tests for all
GKOP constructors.

JIRA: POOL-116
Files Changed
MODIFY /commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java
MODIFY /commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
MODIFY /commons/proper/pool/trunk/xdocs/changes.xml