Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemy Suen2010-11-28 16:50:58 -0500
committerMatthias Sohn2010-11-28 16:50:58 -0500
commitf5fa4bf56ce5248c20d4252fa1fc489b6d964db5 (patch)
tree94971edb4aca4ce80974c63d47bf34429d372cc6 /org.eclipse.egit.core.test
parentba56481ef9cd0cb2b10213709453ab39ea04370c (diff)
downloadegit-f5fa4bf56ce5248c20d4252fa1fc489b6d964db5.tar.gz
egit-f5fa4bf56ce5248c20d4252fa1fc489b6d964db5.tar.xz
egit-f5fa4bf56ce5248c20d4252fa1fc489b6d964db5.zip
Replace calls to StringBuffer with StringBuilder
It is not necessary to use StringBuffer if no synchronization is required. Change-Id: Id03f6482db70e5f1a174713f5b14f12fd2fd7f56 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.core.test')
-rw-r--r--org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/TestProject.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/TestProject.java b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/TestProject.java
index 50a96656c..3ecd4fac2 100644
--- a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/TestProject.java
+++ b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/TestProject.java
@@ -105,7 +105,7 @@ public class TestProject {
public IType createType(IPackageFragment pack, String cuName, String source)
throws JavaModelException {
- StringBuffer buf = new StringBuffer();
+ StringBuilder buf = new StringBuilder();
buf.append("package " + pack.getElementName() + ";\n");
buf.append("\n");
buf.append(source);

Back to the top