/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/processor/support/ObjectPoolHelper.java
notNull( engine) ;notNull( pool) ;
notNull ( pool ) ;
notNull(objectFactory); objectPool = createObjectPool(objectFactory); notNull(objectPool); } private GenericObjectPool<T> createObjectPool(final ObjectFactory<T> objectFactory) { final GenericObjectPool<T> pool = newObjectPool(objectFactory); <extra_id_0> return pool; } 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