Saves some memory

This commit is contained in:
cijo-saju 2017-03-28 20:43:14 +05:30
parent d8901441f6
commit cb96911da3
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
public List<Jid> getAcceptedCryptoTargets() {
if (mode == MODE_SINGLE) {
return Arrays.asList(getJid().toBareJid());
return Collections.singletonList(getJid().toBareJid());
} else {
return getJidListAttribute(ATTRIBUTE_CRYPTO_TARGETS);
}