Use StringBuilder instead of StringBuffer where possible.

Change-Id: Ifc67c84a3e786cd766f45726733a6d294d2652a1
Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
Carsten Hammer 2019-04-06 19:27:36 +02:00 committed by David Pursehouse
parent bf251ea0e8
commit e876a70ede
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ public void testReflogs() throws Exception {
}
private static String reflogComments(List<ReflogEntry> entries) {
StringBuffer b = new StringBuffer();
StringBuilder b = new StringBuilder();
for (ReflogEntry e : entries) {
b.append(e.getComment()).append(";");
}