Bug 516531 - Use StringBuilder instead of StringBuffer in
eclipse.platform.runtime 

Change-Id: I941dd8f26300e48713169d0077743b70a5315a0f
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java b/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java
index eb09e98..7c04cdb 100644
--- a/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java
+++ b/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java
@@ -895,7 +895,7 @@
 	 * Pre-pend the message with the current date and the name of the current thread.
 	 */
 	public static void message(String message) {
-		StringBuffer buffer = new StringBuffer();
+		StringBuilder buffer = new StringBuilder();
 		buffer.append(new Date(System.currentTimeMillis()));
 		buffer.append(" - ["); //$NON-NLS-1$
 		buffer.append(Thread.currentThread().getName());
diff --git a/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/PerformanceStats.java b/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/PerformanceStats.java
index 018a235..e27a843 100644
--- a/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/PerformanceStats.java
+++ b/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/PerformanceStats.java
@@ -525,7 +525,7 @@
 	 */
 	@Override
 	public String toString() {
-		StringBuffer result = new StringBuffer("PerformanceStats("); //$NON-NLS-1$
+		StringBuilder result = new StringBuilder("PerformanceStats("); //$NON-NLS-1$
 		result.append(event);
 		result.append(',');
 		result.append(blame);