Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2018-01-18 16:46:32 +0000
committerLars Vogel2018-01-18 16:50:46 +0000
commit7eb24aaae3dbc3e92aa76bc3407fa3bd7128c595 (patch)
tree4b8862fd7a73426273dc33e8553587b95655ca39
parent432db08619cda4364032721bf730f48194237ce6 (diff)
downloadeclipse.platform.text-I20180118-2000.tar.gz
eclipse.platform.text-I20180118-2000.tar.xz
eclipse.platform.text-I20180118-2000.zip
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.java15
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, '&', "&amp;"); //$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
*/

Back to the top