mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
Replace concatenation in StringBuilder with append.
This commit is contained in:
parent
45b5b11904
commit
840fa7bf40
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user