Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-01-07 18:41:46 +0000
committerAlexander Kurtakov2018-01-07 18:41:46 +0000
commit71968b931e10c84aca29430411ad1ceb06bdf971 (patch)
tree7a5386e7da4703f7b1dfe89aa8439a3b80ce2b1e /tests/org.eclipse.swt.tests
parentfcacc9501be623cbe182e7ebf499c9f75b344964 (diff)
downloadeclipse.platform.swt-71968b931e10c84aca29430411ad1ceb06bdf971.tar.gz
eclipse.platform.swt-71968b931e10c84aca29430411ad1ceb06bdf971.tar.xz
eclipse.platform.swt-71968b931e10c84aca29430411ad1ceb06bdf971.zip
Bug 529494 - Convert to StringBuilder
Change-Id: Ic959ed6d7ae7aa50da85837105570b2b69ae66d3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'tests/org.eclipse.swt.tests')
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java
index 80ba7887fd..cd98aa5e21 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2017 IBM Corporation and others.
+ * Copyright (c) 2000, 2018 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
@@ -90,7 +90,7 @@ public class Test_org_eclipse_swt_browser_Browser extends Test_org_eclipse_swt_w
static int[] webkitGtkVersionInts = new int[3];
/** Accumiliate logs, print only if test case fails. Cleared for each test case. */
- StringBuffer testLog;
+ StringBuilder testLog;
private void testLogAppend(String msg) {
testLog.append(" " + msg + "\n");
}
@@ -133,7 +133,7 @@ public void setUp() {
shell.setText(shellTitle);
setWidget(browser); // For browser to occupy the whole shell, not just half of it.
- testLog = new StringBuffer("\nTest log:\n");
+ testLog = new StringBuilder("\nTest log:\n");
}

Back to the top