/wro4j-core/src/main/java/ro/isdc/wro/model/resource/processor/impl/js/SemicolonAppenderPreProcessor.java
} finally { }writer.write( ';') ;
writer.write ( ';' ) ; } } finally {
public void process(final Resource resource, final Reader reader, final Writer writer) throws IOException { try { final String script = IOUtils.toString(reader); writer.write(script); if (isSemicolonNeeded(script)) { <extra_id_0> reader.close(); writer.close(); } } private boolean isSemicolonNeeded(final String script) { return !(script.matches(PATTERN) || StringUtils.isEmpty(script));