You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2012/04/24 13:40:44 UTC
svn commit: r1329649 -
/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/overview.html
Author: markt
Date: Tue Apr 24 11:40:44 2012
New Revision: 1329649
URL: http://svn.apache.org/viewvc?rev=1329649&view=rev
Log:
Use an implementation that exists for example code
Modified:
commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/overview.html
Modified: commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/overview.html
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/overview.html?rev=1329649&r1=1329648&r2=1329649&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/overview.html (original)
+++ commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/overview.html Tue Apr 24 11:40:44 2012
@@ -87,7 +87,7 @@
public Foo()
{
{@link org.apache.commons.pool2.PoolableObjectFactory PoolableObjectFactory<Map<Object,Object>>} factory = new HashMapFactory();
- pool = new StackObjectPool<Map<Object,Object>>(factory, 1000);
+ pool = new {@link org.apache.commons.pool2.impl.GenericObjectPool GenericObjectPool}<Map<Object,Object>>(factory);
}
public doSomething()