commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject commons-pool git commit: [POOL-332] ObjectPool and KeyedObject pool should extend Closeable.
Date Tue, 31 Oct 2017 21:25:12 GMT
Repository: commons-pool
Updated Branches:
  refs/heads/master 462c3f940 -> a5c135123


[POOL-332] ObjectPool and KeyedObject pool should extend Closeable.

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

Branch: refs/heads/master
Commit: a5c1351235be73d6b20a782583c3a46256d98b5d
Parents: 462c3f9
Author: Gary Gregory <ggregory@apache.org>
Authored: Tue Oct 31 15:25:10 2017 -0600
Committer: Gary Gregory <ggregory@apache.org>
Committed: Tue Oct 31 15:25:10 2017 -0600

----------------------------------------------------------------------
 src/main/java/org/apache/commons/pool2/KeyedObjectPool.java | 1 +
 src/main/java/org/apache/commons/pool2/ObjectPool.java      | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-pool/blob/a5c13512/src/main/java/org/apache/commons/pool2/KeyedObjectPool.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/pool2/KeyedObjectPool.java b/src/main/java/org/apache/commons/pool2/KeyedObjectPool.java
index 8954d49..56cc698 100644
--- a/src/main/java/org/apache/commons/pool2/KeyedObjectPool.java
+++ b/src/main/java/org/apache/commons/pool2/KeyedObjectPool.java
@@ -225,5 +225,6 @@ public interface KeyedObjectPool<K,V> extends Closeable {
      * <p>
      * Implementations should silently fail if not all resources can be freed.
      */
+    @Override
     void close();
 }

http://git-wip-us.apache.org/repos/asf/commons-pool/blob/a5c13512/src/main/java/org/apache/commons/pool2/ObjectPool.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/pool2/ObjectPool.java b/src/main/java/org/apache/commons/pool2/ObjectPool.java
index 0f8eef3..41e2831 100644
--- a/src/main/java/org/apache/commons/pool2/ObjectPool.java
+++ b/src/main/java/org/apache/commons/pool2/ObjectPool.java
@@ -173,5 +173,6 @@ public interface ObjectPool<T> extends Closeable {
      * <p>
      * Implementations should silently fail if not all resources can be freed.
      */
+    @Override
     void close();
 }


Mime
View raw message