From e876a70ede47559f927fa285169f267aa445f2dd Mon Sep 17 00:00:00 2001 From: Carsten Hammer Date: Sat, 6 Apr 2019 19:27:36 +0200 Subject: [PATCH] Use StringBuilder instead of StringBuffer where possible. Change-Id: Ifc67c84a3e786cd766f45726733a6d294d2652a1 Signed-off-by: Carsten Hammer Signed-off-by: David Pursehouse --- .../tst/org/eclipse/jgit/api/CommitCommandTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitCommandTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitCommandTest.java index cd96f41a4..4bfac1505 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitCommandTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitCommandTest.java @@ -485,7 +485,7 @@ public class CommitCommandTest extends RepositoryTestCase { } private static String reflogComments(List entries) { - StringBuffer b = new StringBuffer(); + StringBuilder b = new StringBuilder(); for (ReflogEntry e : entries) { b.append(e.getComment()).append(";"); }