Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/FormattedHTMLElement.java')
-rw-r--r--org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/FormattedHTMLElement.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/FormattedHTMLElement.java b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/FormattedHTMLElement.java
index 065e09586..c5f5e4ab7 100644
--- a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/FormattedHTMLElement.java
+++ b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/html/FormattedHTMLElement.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2004, 2016 IBM Corporation and others.
+ * Copyright (c) 2004, 2017 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -88,9 +88,9 @@ public class FormattedHTMLElement extends HTMLElement {
* the number of tabs to insert
* @return
*/
- private StringBuffer getIndent(int indentLevel) {
+ private StringBuilder getIndent(int indentLevel) {
// figure out the tab width
- StringBuffer indent = new StringBuffer();
+ StringBuilder indent = new StringBuilder();
for (int i = 0; i < indentLevel; i++) {
indent.append(IIntroHTMLConstants.SMALL_TAB);
}
@@ -98,7 +98,7 @@ public class FormattedHTMLElement extends HTMLElement {
}
@Override
public String toString() {
- StringBuffer element = new StringBuffer();
+ StringBuilder element = new StringBuilder();
// insert the indent
element.append(getIndent(indentLevel));
// add the start tag and attributes

Back to the top