Author: markt
Date: Tue Apr 24 17:48:50 2012
New Revision: 1329891
URL: http://svn.apache.org/viewvc?rev=1329891&view=rev
Log:
Fix an Eclipse warning
Modified:
commons/proper/pool/trunk/src/test/java/org/apache/commons/pool2/TestPoolUtils.java
Modified:
commons/proper/pool/trunk/src/test/java/org/apache/commons/pool2/TestPoolUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/java/org/apache/commons/pool2/TestPoolUtils.java?rev=1329891&r1=1329890&r2=1329891&view=diff
==============================================================================
---
commons/proper/pool/trunk/src/test/java/org/apache/commons/pool2/TestPoolUtils.java
(original)
+++
commons/proper/pool/trunk/src/test/java/org/apache/commons/pool2/TestPoolUtils.java
Tue Apr 24 17:48:50 2012
@@ -56,6 +56,7 @@ public class TestPoolUtils {
/** Sleep time to let the minIdle tests run CHECK_COUNT times. */
private static final int CHECK_SLEEP_PERIOD = CHECK_PERIOD * (CHECK_COUNT
- 1) + CHECK_PERIOD / 2;
+ @SuppressWarnings("unused")
@Test
public void testJavaBeanInstantiation() {
new PoolUtils();
@@ -496,7 +497,7 @@ public class TestPoolUtils {
Thread.sleep(10000); // 10 seconds
-
+
o = pool.borrowObject();
expectedMethods.add("borrowObject");
pool.returnObject(o);