Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/AbstractUndoManagerTest.java2
-rw-r--r--org.eclipse.text.tests/src/org/eclipse/text/tests/DocumentUndoManagerTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/AbstractUndoManagerTest.java b/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/AbstractUndoManagerTest.java
index 01f385a1c..ca91a3fb6 100644
--- a/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/AbstractUndoManagerTest.java
+++ b/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/AbstractUndoManagerTest.java
@@ -443,7 +443,7 @@ public abstract class AbstractUndoManagerTest {
}
private static String createRandomString(int length) {
- final StringBuffer buffer= new StringBuffer();
+ final StringBuilder buffer= new StringBuilder();
for (int i= 0; i < length; i++)
buffer.append(getRandomCharacter());
diff --git a/org.eclipse.text.tests/src/org/eclipse/text/tests/DocumentUndoManagerTest.java b/org.eclipse.text.tests/src/org/eclipse/text/tests/DocumentUndoManagerTest.java
index f621e5348..95c26b4c9 100644
--- a/org.eclipse.text.tests/src/org/eclipse/text/tests/DocumentUndoManagerTest.java
+++ b/org.eclipse.text.tests/src/org/eclipse/text/tests/DocumentUndoManagerTest.java
@@ -403,7 +403,7 @@ public class DocumentUndoManagerTest extends TestCase {
}
private static String createRandomString(int length) {
- final StringBuffer buffer= new StringBuffer();
+ final StringBuilder buffer= new StringBuilder();
for (int i= 0; i < length; i++)
buffer.append(getRandomCharacter());

Back to the top