/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/processor/js/JsTemplateCompilerProcessor.java
writer.write( jsCompiler.compile( content, getArgument( resource) ) ) ; try {final AbstractJsTemplateCompiler jsCompiler = enginePool.getObject( ) ;
final AbstractJsTemplateCompiler jsCompiler = enginePool.getObject ( ) ; try { writer.write ( jsCompiler.compile ( content, getArgument ( resource ) ) ) ;
} }); } @Override public void process(final Resource resource, final Reader reader, final Writer writer) throws IOException { final String content = IOUtils.toString(reader); <extra_id_0> } finally { enginePool.returnObject(jsCompiler); reader.close(); writer.close(); } }