Repository: commons-pool
Updated Branches:
  refs/heads/master e64df25b5 -> 55628bc3e


[POOL-332] ObjectPool and KeyedObject pool should extend Closeable.
Cleaning up tests by managing pools with try-with-resource blocks.
More to do. 'mvn clean verify' passes.

Project: http://git-wip-us.apache.org/repos/asf/commons-pool/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-pool/commit/55628bc3
Tree: http://git-wip-us.apache.org/repos/asf/commons-pool/tree/55628bc3
Diff: http://git-wip-us.apache.org/repos/asf/commons-pool/diff/55628bc3

Branch: refs/heads/master
Commit: 55628bc3e266b1e56fd39c7d622e6c0686b69c6e
Parents: e64df25
Author: Gary Gregory <ggreg...@apache.org>
Authored: Wed Nov 1 10:20:36 2017 -0600
Committer: Gary Gregory <ggreg...@apache.org>
Committed: Wed Nov 1 10:20:36 2017 -0600

----------------------------------------------------------------------
 src/test/java/org/apache/commons/pool2/TestPoolUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-pool/blob/55628bc3/src/test/java/org/apache/commons/pool2/TestPoolUtils.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/pool2/TestPoolUtils.java 
b/src/test/java/org/apache/commons/pool2/TestPoolUtils.java
index 33737e1..b253297 100644
--- a/src/test/java/org/apache/commons/pool2/TestPoolUtils.java
+++ b/src/test/java/org/apache/commons/pool2/TestPoolUtils.java
@@ -493,7 +493,7 @@ public class TestPoolUtils {
             }
         };
 
-        try (@SuppressWarnings({ "unchecked", "unused" })
+        try (@SuppressWarnings({ "unchecked" })
             final ObjectPool<?> o = 
PoolUtils.erodingPool(createProxy(ObjectPool.class, handler), -1f)) {
             fail("PoolUtils.erodingPool(ObjectPool, float) must not allow a 
non-positive factor.");
         } catch (final IllegalArgumentException iae) {

Reply via email to