public int doEndTag() throws JspException {
        // Trim
        String trimmed = truncateWS(bodyContent.getString());
        try {
            // Print trimmed content
            //pageContext.getOut().print("<!--TWS-->\n");
            pageContext.getOut().print(trimmed);
            //pageContext.getOut().print("\n<!--/TWS-->");
        }
        catch (IOException ioe) {
            throw new JspException(ioe);
        }

        return super.doEndTag();
    }
public int doEndTag ( ) throws JspException { String trimmed = truncateWS ( bodyContent . getString ( ) ) ; try { pageContext . getOut ( ) . print ( trimmed ) ; } catch ( IOException ioe ) { throw new JspException ( ioe ) ; } return super . doEndTag ( ) ; }
doEndTag implementation, truncates all whitespace.

@return {@code super.doEndTag()}