Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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