8586878889909192939495
.getResourceSettings() .getCssCompressor(); if (compressor != null) { return compressor.compress(nonCompressed); } else { // don't strip the comments return nonCompressed;
.getResourceSettings() .getJavaScriptCompressor(); if (compressor != null) { return compressor.compress(nonCompressed); } else { // don't strip the comments return nonCompressed;
5960616263646566676869
if (compressor != null) { try { String nonCompressed = new String(processedResponse, "UTF-8"); return compressor.compress(nonCompressed).getBytes(); } catch (Exception e) { log.error("Error while filtering content", e); return processedResponse;
8788899091929394959697
compressor = Application.get().getResourceSettings().getJavaScriptCompressor(); } if (compressor != null) { return compressor.compress(nonCompressed); } else { // don't strip the comments return nonCompressed;