1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Replace concatenation in StringBuilder with append.

This commit is contained in:
Andrew Chen 2011-01-25 04:25:27 +00:00
parent 45b5b11904
commit 840fa7bf40

View File

@ -253,7 +253,7 @@ public class HtmlConverter
int codePoint = html.codePointAt(i);
String emoji = getEmojiForCodePoint(codePoint);
if (emoji != null)
buff.append("<img src=\"file:///android_asset/emoticons/" + emoji + ".gif\" alt=\"" + emoji + "\" />");
buff.append("<img src=\"file:///android_asset/emoticons/").append(emoji).append(".gif\" alt=\"").append(emoji).append("\" />");
else
buff.appendCodePoint(codePoint);