Skip to content
Permalink
Browse files
Sort members.
  • Loading branch information
Gary Gregory committed Aug 12, 2021
1 parent 3abe560 commit b6b084241ed4a8518a1c30b98e72e6353546669c
Showing 1 changed file with 4 additions and 4 deletions.
@@ -26,14 +26,10 @@

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 PooledObject<String> wrap(final String obj) {
}
}

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);

0 comments on commit b6b0842

Please sign in to comment.