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:
parent
bf251ea0e8
commit
e876a70ede
|
@ -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(";");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue