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