Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/texteditor/rulers/StringSetSerializer.java2
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/TextViewerDeleteLineTarget.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/texteditor/rulers/StringSetSerializer.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/texteditor/rulers/StringSetSerializer.java
index 628469844..5684bb753 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/texteditor/rulers/StringSetSerializer.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/texteditor/rulers/StringSetSerializer.java
@@ -24,7 +24,7 @@ public final class StringSetSerializer {
public static String serialize(Set<String> strings) {
Assert.isLegal(strings != null);
- StringBuffer buf= new StringBuffer(strings.size() * 20);
+ StringBuilder buf= new StringBuilder(strings.size() * 20);
for (Iterator<String> it= strings.iterator(); it.hasNext();) {
buf.append(it.next());
if (it.hasNext())
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/TextViewerDeleteLineTarget.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/TextViewerDeleteLineTarget.java
index 4cce8defb..ab9dda7df 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/TextViewerDeleteLineTarget.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/TextViewerDeleteLineTarget.java
@@ -78,7 +78,7 @@ public class TextViewerDeleteLineTarget implements IDeleteLineTarget {
/** The clip board. */
private Clipboard fClipboard;
/** A string buffer. */
- private final StringBuffer fBuffer= new StringBuffer();
+ private final StringBuilder fBuffer= new StringBuilder();
/** The delete flag indicates if a deletion is in progress. */
private boolean fDeleting;

Back to the top