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 2023/06/24 23:36:09 UTC
[commons-pool] branch master updated: Use diamonds
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-pool.git
The following commit(s) were added to refs/heads/master by this push:
new 7ab7ccb6 Use diamonds
7ab7ccb6 is described below
commit 7ab7ccb6740961bc4d98e16021fa13f253a25399
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jun 24 19:36:05 2023 -0400
Use diamonds
---
.../java/org/apache/commons/pool2/impl/TestBaseGenericObjectPool.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/pool2/impl/TestBaseGenericObjectPool.java b/src/test/java/org/apache/commons/pool2/impl/TestBaseGenericObjectPool.java
index 7e1a0938..489ae9c4 100644
--- a/src/test/java/org/apache/commons/pool2/impl/TestBaseGenericObjectPool.java
+++ b/src/test/java/org/apache/commons/pool2/impl/TestBaseGenericObjectPool.java
@@ -131,7 +131,7 @@ public class TestBaseGenericObjectPool {
try {
// final long startTime = System.currentTimeMillis();
for (int i = 0; i < numPools; i++) {
- pools.add(new GenericObjectPool<>(new WaiterFactory<String>(0, 0, 0, 0, 0, 0), new GenericObjectPoolConfig<Waiter>()));
+ pools.add(new GenericObjectPool<>(new WaiterFactory<>(0, 0, 0, 0, 0, 0), new GenericObjectPoolConfig<>()));
}
// System.out.println("Duration: " + (System.currentTimeMillis() - startTime));
final ObjectName oname = pools.get(numPools - 1).getJmxName();