/wro4j-core/src/main/java/ro/isdc/wro/model/resource/processor/impl/CommentStripperProcessor.java
char result = SingleLineCommentStripperProcessor.PATTERN.matcher( content).replaceAll( StringUtils.EMPTY) ;
String result = SingleLineCommentStripperProcessor.PATTERN.matcher ( content ) .replaceAll ( StringUtils.EMPTY ) ;
public class CommentStripperProcessor implements ResourcePreProcessor, ResourcePostProcessor { public void process(final Resource resource, final Reader reader, final Writer writer) throws IOException { try (reader; writer) { final String content = IOUtils.toString(reader); <extra_id_0> result = MultiLineCommentStripperProcessor.PATTERN.matcher(result).replaceAll(StringUtils.EMPTY); result = WroUtil.EMTPY_LINE_PATTERN.matcher(result).replaceAll(StringUtils.EMPTY); writer.write(result); } } public void process(final Reader reader, final Writer writer)