Fix a lot of easy-to-fix warnings (#957)
This commit is contained in:
parent
72c0adae03
commit
5230bd29a6
18 changed files with 56 additions and 51 deletions
|
@ -314,7 +314,9 @@ public final class ComposeActivity
|
|||
if(emojiList == null) {
|
||||
emojiList = Collections.emptyList();
|
||||
}
|
||||
Collections.sort(emojiList, (a, b) -> a.getShortcode().toLowerCase().compareTo(b.getShortcode().toLowerCase()));
|
||||
Collections.sort(emojiList, (a, b) ->
|
||||
a.getShortcode().toLowerCase(Locale.ROOT).compareTo(
|
||||
b.getShortcode().toLowerCase(Locale.ROOT)));
|
||||
setEmojiList(emojiList);
|
||||
cacheInstanceMetadata(activeAccount);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue