Use StringBuilder in org.eclipse.compare.tests

Change-Id: I74636dbde847e5b473b2b6720e11f49afdaccb3d
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/tests/org.eclipse.compare.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.compare.tests/META-INF/MANIFEST.MF
index 8f9317b..52438a2 100644
--- a/tests/org.eclipse.compare.tests/META-INF/MANIFEST.MF
+++ b/tests/org.eclipse.compare.tests/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@
 Bundle-ManifestVersion: 2
 Bundle-Name: %pluginName
 Bundle-SymbolicName: org.eclipse.compare.tests;singleton:=true
-Bundle-Version: 3.6.600.qualifier
+Bundle-Version: 3.6.700.qualifier
 Require-Bundle: org.junit,
  org.eclipse.compare,
  org.eclipse.jface.text,
diff --git a/tests/org.eclipse.compare.tests/pom.xml b/tests/org.eclipse.compare.tests/pom.xml
index e7e7a89..8f92758 100644
--- a/tests/org.eclipse.compare.tests/pom.xml
+++ b/tests/org.eclipse.compare.tests/pom.xml
@@ -19,7 +19,7 @@
   </parent>
   <groupId>org.eclipse.compare</groupId>
   <artifactId>org.eclipse.compare.tests</artifactId>
-  <version>3.6.600-SNAPSHOT</version>
+  <version>3.6.700-SNAPSHOT</version>
   <packaging>eclipse-test-plugin</packaging>
 
   <properties>
diff --git a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/StreamMergerTest.java b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/StreamMergerTest.java
index 4060033..2f7baea 100644
--- a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/StreamMergerTest.java
+++ b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/StreamMergerTest.java
@@ -46,7 +46,7 @@
 		String t= ABC + SEPARATOR + DEF + SEPARATOR + XYZ;
 		String o= ABC + SEPARATOR + DEF + SEPARATOR + _123 + SEPARATOR + XYZ;
 
-		StringBuffer output= new StringBuffer();
+		StringBuilder output= new StringBuilder();
 
 		IStatus status= merge(output, a, t, o);
 
@@ -61,7 +61,7 @@
 		String t= ABC + SEPARATOR + DEF + SEPARATOR + XYZ;
 		String o= ABC + SEPARATOR + XYZ;
 
-		StringBuffer output= new StringBuffer();
+		StringBuilder output= new StringBuilder();
 
 		IStatus status= merge(output, a, t, o);
 
@@ -76,7 +76,7 @@
 		String t= ABC + SEPARATOR + DEF + SEPARATOR + XYZ;
 		String o= ABC + SEPARATOR + _123 + SEPARATOR + XYZ;
 
-		StringBuffer output= new StringBuffer();
+		StringBuilder output= new StringBuilder();
 
 		IStatus status= merge(output, a, t, o);
 
@@ -91,7 +91,7 @@
 		String t= ABC + SEPARATOR + DEF + SEPARATOR + XYZ + SEPARATOR + FOO;
 		String o= ABC + SEPARATOR + _123 + SEPARATOR + _456 + SEPARATOR + XYZ;
 
-		StringBuffer output= new StringBuffer();
+		StringBuilder output= new StringBuilder();
 
 		IStatus status= merge(output, a, t, o);
 
@@ -106,7 +106,7 @@
 		String t= ABC + SEPARATOR + FOO + SEPARATOR + XYZ;
 		String o= ABC + SEPARATOR + BAR + SEPARATOR + XYZ;
 
-		StringBuffer output= new StringBuffer();
+		StringBuilder output= new StringBuilder();
 
 		IStatus status= merge(output, a, t, o);
 
@@ -120,7 +120,7 @@
 		String t= ABC + SEPARATOR + DEF + SEPARATOR + _123 + SEPARATOR + XYZ;
 		String o= ABC + SEPARATOR + DEF + SEPARATOR + _123 + SEPARATOR + XYZ;
 
-		StringBuffer output= new StringBuffer();
+		StringBuilder output= new StringBuilder();
 
 		IStatus status= merge(output, a, t, o);
 
@@ -135,7 +135,7 @@
 		String t= ABC + SEPARATOR + XYZ;
 		String o= ABC + SEPARATOR + XYZ;
 
-		StringBuffer output= new StringBuffer();
+		StringBuilder output= new StringBuilder();
 
 		IStatus status= merge(output, a, t, o);
 
@@ -144,7 +144,7 @@
 		assertEquals(output.toString(), ABC + SEPARATOR + XYZ + SEPARATOR);
 	}
 
-	private IStatus merge(StringBuffer output, String a, String m, String y) {
+	private IStatus merge(StringBuilder output, String a, String m, String y) {
 		InputStream ancestor= new ByteArrayInputStream(a.getBytes(StandardCharsets.UTF_8));
 		InputStream target= new ByteArrayInputStream(m.getBytes(StandardCharsets.UTF_8));
 		InputStream other= new ByteArrayInputStream(y.getBytes(StandardCharsets.UTF_8));
@@ -152,7 +152,7 @@
 		return merge(output, ancestor, target, other);
 	}
 
-	private IStatus merge(StringBuffer output, InputStream ancestor,
+	private IStatus merge(StringBuilder output, InputStream ancestor,
 			InputStream target, InputStream other) {
 		ByteArrayOutputStream os= new ByteArrayOutputStream();