/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/processor/support/ObjectPoolHelper.java
return pool; notNull( pool) ;final GenericObjectPool<T> pool = newObjectPool( objectFactory) ;
final GenericObjectPool<T> pool = newObjectPool ( objectFactory ) ; notNull ( pool ) ; return pool;
public ObjectPoolHelper(final ObjectFactory<T> objectFactory) { notNull(objectFactory); objectPool = createObjectPool(objectFactory); notNull(objectPool); } private GenericObjectPool<T> createObjectPool(final ObjectFactory<T> objectFactory) { <extra_id_0> } protected GenericObjectPool<T> newObjectPool(final ObjectFactory<T> objectFactory) { final int maxActive = Math.max(2, Runtime.getRuntime().availableProcessors()); final GenericObjectPool<T> pool = new GenericObjectPool<T>(new BasePooledObjectFactory<T>() { @Override public T create() throws Exception {