Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2019-07-05 12:10:16 +0000
committerLars Vogel2019-07-05 12:10:59 +0000
commite4939735e855f9118d07aa421d734636899610e8 (patch)
treeadd31b0c984e84e445d39d9aa22286df4657633b
parent09cba74b540ac0b3b55c71f4dc915fab8c82201b (diff)
downloadeclipse.platform.ua-I20190706-1800.tar.gz
eclipse.platform.ua-I20190706-1800.tar.xz
eclipse.platform.ua-I20190706-1800.zip
Change-Id: I69a1496374d558f800c20c2df9e3fad8b5f7386c Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/HTMLUtil.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/HTMLUtil.java b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/HTMLUtil.java
index c508be4e8..e6b1df8da 100644
--- a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/HTMLUtil.java
+++ b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/HTMLUtil.java
@@ -35,9 +35,9 @@ public final class HTMLUtil {
* false otherwise
* @return
*/
- public static StringBuffer createHTMLStartTag(String elementName,
+ public static StringBuilder createHTMLStartTag(String elementName,
Map elementAttributes, boolean insertLineBreak) {
- StringBuffer element = new StringBuffer();
+ StringBuilder element = new StringBuilder();
if (elementName != null) {
// open the start tag
element.append(openHTMLStartTag(elementName));
@@ -60,7 +60,7 @@ public final class HTMLUtil {
* true to insert a new line after the start tag
* @return
*/
- public static StringBuffer createHTMLStartTag(String elementName,
+ public static StringBuilder createHTMLStartTag(String elementName,
boolean insertLineBreak) {
return createHTMLStartTag(elementName, null, insertLineBreak);
}
@@ -73,7 +73,7 @@ public final class HTMLUtil {
* the name of the element to create
* @return
*/
- public static StringBuffer createHTMLStartTag(String elementName) {
+ public static StringBuilder createHTMLStartTag(String elementName) {
return createHTMLStartTag(elementName, null, true);
}
@@ -86,9 +86,9 @@ public final class HTMLUtil {
* true to add a new line at the end
* @return
*/
- public static StringBuffer createHTMLEndTag(String elementName,
+ public static StringBuilder createHTMLEndTag(String elementName,
boolean addNewLine) {
- StringBuffer closingElement = new StringBuffer();
+ StringBuilder closingElement = new StringBuilder();
if (elementName != null)
closingElement.append(IIntroHTMLConstants.LT).append(
IIntroHTMLConstants.FORWARD_SLASH).append(elementName)

Back to the top