/wro4j-core/src/main/java/ro/isdc/wro/model/resource/processor/impl/js/JSMinProcessor.java
throw WroRuntimeException.wrap( e) ; } catch ( final Exception e) {new JSMin( is, os).jsmin( ) ;
new JSMin ( is, os ) .jsmin ( ) ; } catch ( final Exception e ) { throw WroRuntimeException.wrap ( e ) ;
private ReadOnlyContext context; private String encoding; @Override public void process(final Resource resource, final Reader reader, final Writer writer) throws IOException { try (InputStream is = new ProxyInputStream(new ReaderInputStream(reader, getEncoding())) { }; OutputStream os = new ProxyOutputStream(new WriterOutputStream(writer, getEncoding()))) { <extra_id_0> } } @Override public void process(final Reader reader, final Writer writer) throws IOException { process(null, reader, writer); }