Improve String operations
- Don't call #toString on strings. - Don't use + in StringBuilder#append-s methods. Change-Id: I4e0f99ea417aabb72ecaaab170c66eb434d3ad37
This commit is contained in:
committed by
David Pursehouse
parent
505fa92b0c
commit
34de18130e
@@ -298,7 +298,7 @@ public class MergeUtil {
|
||||
public static String createConflictMessage(List<String> conflicts) {
|
||||
StringBuilder sb = new StringBuilder("merge conflict(s)");
|
||||
for (String c : conflicts) {
|
||||
sb.append('\n' + c);
|
||||
sb.append('\n').append(c);
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user