etag = ParametredHttpServlet.computeETag(sourceBuffer);
etag = ConfiguredHttpServlet.computeETag(sourceBuffer);
    protected void initializeBuffers() throws ServletException {        StringAppender sb = this.buffers;        this.buffers = null;        try {            if (canSkipSpace()) {                sourceBuffer = SourceFilter.filterSkipSpaces(sb.toString())                        .getBytes(charSet);            } else {                sourceBuffer = SourceFilter.filter(sb.toString()).getBytes(                        charSet);            }        } catch (UnsupportedEncodingException ex) {            throw new ServletException(ex);        }        if (lastModified <= 0) {            lastModified = System.currentTimeMillis();        }        if (canUseETag) {            etag = ParametredHttpServlet.computeETag(sourceBuffer);        }        if (canUseHash) {            hash = ParametredHttpServlet.computeHash(sourceBuffer);        }        if (canUseGzip) {            try {                ByteArrayOutputStream bos = new ByteArrayOutputStream(                        sourceBuffer.length);                GZIPOutputStream gzos = new GZIPOutputStream(bos,                        sourceBuffer.length);                gzos.write(sourceBuffer);                gzos.close();                sourceBufferGZip = bos.toByteArray();                bos.close();            } catch (IOException ex) {                throw new ServletException("Can not create GZIP buffer for "                        + getSourceType() + " files.", ex);            }        }        String message = getSourceType() + ": buffers loaded into "                + sourceBuffer.length + " bytes";        if (sourceBufferGZip != null) {            message += " (GZiped: " + sourceBufferGZip.length + " ["                    + (sourceBufferGZip.length * 100 / sourceBuffer.length)                    + "%])";        }        LOG.info(message, null);    }