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 2022/05/22 15:46:25 UTC
[commons-pool] branch master updated: Format block
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 feeccb95 Format block
feeccb95 is described below
commit feeccb95676b993f6b3d8ce6d6a509c889aaf8f5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun May 22 11:46:21 2022 -0400
Format block
---
.../org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java b/src/test/java/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java
index 3da54a9f..dbfeca3f 100644
--- a/src/test/java/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java
+++ b/src/test/java/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java
@@ -2123,8 +2123,8 @@ public class TestGenericKeyedObjectPool extends TestKeyedObjectPool {
gkoPool.setMaxTotalPerKey(threadsPerKey);
// Create enough threads so half the threads will have to wait
final WaitingTestThread<Exception>[] wtt = new WaitingTestThread[keyCount * threadsPerKey * 2];
- for(int i=0; i < wtt.length; i++){
- wtt[i] = new WaitingTestThread(gkoPool,Integer.toString(i % keyCount),holdTime);
+ for (int i = 0; i < wtt.length; i++) {
+ wtt[i] = new WaitingTestThread(gkoPool, Integer.toString(i % keyCount), holdTime);
}
final long originMillis = System.currentTimeMillis() - 1000;
for (final WaitingTestThread<Exception> element : wtt) {