CharSequence () { final StringBuilder buffer = new StringBuilder(); try { build(buffer, Registry.intValue("editor.richcopy.max.size.megabytes") * FileUtilRt.MEGABYTE); } catch (Exception e) { LOG.error(e); } if (LOG.isDebugEnabled()) { LOG.debug("Resulting text: \n" + buffer); } return buffer; }