Author: sebb Date: Fri Jan 15 13:26:08 2010 New Revision: 899622 URL: http://svn.apache.org/viewvc?rev=899622&view=rev Log: Typo
Modified: commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java Modified: commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java?rev=899622&r1=899621&r2=899622&view=diff ============================================================================== --- commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java (original) +++ commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java Fri Jan 15 13:26:08 2010 @@ -1357,7 +1357,7 @@ final long maxWait = 200; // wait for connection final long holdTime = 2 * maxWait; // how long to hold connection final int keyCount = 4; // number of different keys - final int threadsPerKey = 5; // number of threads to grab the key initiallu + final int threadsPerKey = 5; // number of threads to grab the key initially SimpleFactory factory = new SimpleFactory(); GenericKeyedObjectPool pool = new GenericKeyedObjectPool(factory); pool.setWhenExhaustedAction(GenericObjectPool.WHEN_EXHAUSTED_BLOCK); @@ -1395,6 +1395,7 @@ } assertEquals("Expected half the threads to fail",wtt.length/2,failed); } + /* * Very simple test thread that just tries to borrow an object from * the provided pool with the specified key and returns it