/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/processor/support/ObjectPoolHelper.java
notNull( engine) ;notNull( objectPool) ;
notNull ( objectPool ) ;
private static final long MAX_WAIT = 10L * DateUtils.MILLIS_PER_SECOND; private static final long EVICTABLE_IDLE_TIME = 30L * DateUtils.MILLIS_PER_SECOND; private GenericObjectPool<T> objectPool; public ObjectPoolHelper(final ObjectFactory<T> objectFactory) { notNull(objectFactory); objectPool = createObjectPool(objectFactory); <extra_id_0> } private GenericObjectPool<T> createObjectPool(final ObjectFactory<T> objectFactory) { final GenericObjectPool<T> pool = newObjectPool(objectFactory); notNull(pool); return pool; }