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 2021/08/12 19:06:38 UTC
[commons-pool] 01/02: Sort members.
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 b6b084241ed4a8518a1c30b98e72e6353546669c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Aug 12 15:00:03 2021 -0400
Sort members.
---
.../java/org/apache/commons/pool2/impl/TestPoolImplUtils.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/test/java/org/apache/commons/pool2/impl/TestPoolImplUtils.java b/src/test/java/org/apache/commons/pool2/impl/TestPoolImplUtils.java
index 7fe08e2..3cf82f5 100644
--- a/src/test/java/org/apache/commons/pool2/impl/TestPoolImplUtils.java
+++ b/src/test/java/org/apache/commons/pool2/impl/TestPoolImplUtils.java
@@ -26,14 +26,10 @@ import org.junit.jupiter.api.Test;
public class TestPoolImplUtils {
- private static final Instant INSTANT_1 = Instant.ofEpochMilli(1);
- private static final Instant INSTANT_0 = Instant.ofEpochMilli(0);
-
@SuppressWarnings("unused")
private abstract static class FactoryAB<A, B> extends BasePooledObjectFactory<B> {
// empty by design
}
-
private abstract static class FactoryBA<A, B> extends FactoryAB<B, A> {
// empty by design
}
@@ -75,6 +71,10 @@ public class TestPoolImplUtils {
}
}
+ private static final Instant INSTANT_1 = Instant.ofEpochMilli(1);
+
+ private static final Instant INSTANT_0 = Instant.ofEpochMilli(0);
+
@Test
public void testFactoryTypeNotSimple() {
final Class<?> result = PoolImplUtils.getFactoryType(NotSimpleFactory.class);