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