diff options
author | Lars Vogel | 2018-01-18 16:46:32 +0000 |
---|---|---|
committer | Lars Vogel | 2018-01-18 16:50:46 +0000 |
commit | 7eb24aaae3dbc3e92aa76bc3407fa3bd7128c595 (patch) | |
tree | 4b8862fd7a73426273dc33e8553587b95655ca39 | |
parent | 432db08619cda4364032721bf730f48194237ce6 (diff) | |
download | eclipse.platform.text-I20180118-2000.tar.gz eclipse.platform.text-I20180118-2000.tar.xz eclipse.platform.text-I20180118-2000.zip |
Bug 519783 - HTMLPrinter should migrate to StringBuilderI20180124-0800I20180123-2000I20180123-1010I20180123-0800I20180122-2000I20180122-0800I20180121-2000I20180121-0800I20180120-1500I20180120-0800I20180119-2000I20180119-0110I20180118-2000
Missing Javadoc update
Change-Id: Idbca2de008c5acbf9666486a3a6ce5d55c103c30
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r-- | org.eclipse.jface.text/src/org/eclipse/jface/internal/text/html/HTMLPrinter.java | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/html/HTMLPrinter.java b/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/html/HTMLPrinter.java index f67dcf7e5dd..a1381945ffe 100644 --- a/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/html/HTMLPrinter.java +++ b/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/html/HTMLPrinter.java @@ -108,7 +108,7 @@ public class HTMLPrinter { * @return the string with escaped characters * * @see #convertToHTMLContentWithWhitespace(String) for use in browsers - * @see #addPreFormatted(StringBuffer, String) for rendering with an {@link HTML2TextReader} + * @see #addPreFormatted(StringBuilder, String) for rendering with an {@link HTML2TextReader} */ public static String convertToHTMLContent(String content) { content= replace(content, '&', "&"); //$NON-NLS-1$ @@ -118,16 +118,17 @@ public class HTMLPrinter { } /** - * Escapes reserved HTML characters in the given string - * and returns them in a way that preserves whitespace in a browser. + * Escapes reserved HTML characters in the given string and returns them in a way that preserves + * whitespace in a browser. * <p> - * <b>Warning:</b> Whitespace will not be preserved when rendered with an {@link HTML2TextReader} - * (e.g. in a {@link DefaultInformationControl} that renders simple HTML). - + * <b>Warning:</b> Whitespace will not be preserved when rendered with an + * {@link HTML2TextReader} (e.g. in a {@link DefaultInformationControl} that renders simple + * HTML). + * * @param content the input string * @return the processed string * - * @see #addPreFormatted(StringBuffer, String) + * @see #addPreFormatted(StringBuilder, String) * @see #convertToHTMLContent(String) * @since 3.7 */ |