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/03/05 13:25:31 UTC
[commons-pool] 07/07: Make private test class static
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
commit 5a284d64d1380968579cd91815119f1710ac67b2
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Mar 5 08:12:45 2023 -0500
Make private test class static
---
src/test/java/org/apache/commons/pool2/ObjectPoolIssue326.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/pool2/ObjectPoolIssue326.java b/src/test/java/org/apache/commons/pool2/ObjectPoolIssue326.java
index 0f86faab..6e5d78a8 100644
--- a/src/test/java/org/apache/commons/pool2/ObjectPoolIssue326.java
+++ b/src/test/java/org/apache/commons/pool2/ObjectPoolIssue326.java
@@ -40,7 +40,7 @@ import org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig;
* negatively since you need to run it for a while.
*/
public final class ObjectPoolIssue326 {
- private class ObjectFactory extends BaseKeyedPooledObjectFactory<Integer, Object, RuntimeException> {
+ private static class ObjectFactory extends BaseKeyedPooledObjectFactory<Integer, Object, RuntimeException> {
@Override
public Object create(final Integer s) {
return new TestObject();