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