mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -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);
|
int codePoint = html.codePointAt(i);
|
||||||
String emoji = getEmojiForCodePoint(codePoint);
|
String emoji = getEmojiForCodePoint(codePoint);
|
||||||
if (emoji != null)
|
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
|
else
|
||||||
buff.appendCodePoint(codePoint);
|
buff.appendCodePoint(codePoint);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user