You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2018/08/17 00:15:17 UTC
commons-pool git commit: Remove redundant type arguments.
Repository: commons-pool
Updated Branches:
refs/heads/master 5b2832931 -> 4f00184b2
Remove redundant type arguments.
Project: http://git-wip-us.apache.org/repos/asf/commons-pool/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-pool/commit/4f00184b
Tree: http://git-wip-us.apache.org/repos/asf/commons-pool/tree/4f00184b
Diff: http://git-wip-us.apache.org/repos/asf/commons-pool/diff/4f00184b
Branch: refs/heads/master
Commit: 4f00184b29c7f0560f90121c53abd11f9a68ba37
Parents: 5b28329
Author: Gary Gregory <ga...@gmail.com>
Authored: Thu Aug 16 18:15:15 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Thu Aug 16 18:15:15 2018 -0600
----------------------------------------------------------------------
.../org/apache/commons/pool2/impl/TestGenericObjectPool.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-pool/blob/4f00184b/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java b/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java
index a6ee7ff..cfe0fe7 100644
--- a/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java
+++ b/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java
@@ -2674,7 +2674,7 @@ public class TestGenericObjectPool extends TestBaseObjectPool {
@Override
public PooledObject<String> wrap(final String obj) {
// fake
- return new DefaultPooledObject<String>(obj);
+ return new DefaultPooledObject<>(obj);
}
};
}
@@ -2779,7 +2779,7 @@ public class TestGenericObjectPool extends TestBaseObjectPool {
@Override
public PooledObject<String> wrap(final String obj) {
// fake
- return new DefaultPooledObject<String>(obj);
+ return new DefaultPooledObject<>(obj);
}
};
}