fix build warnings (#1331)

This commit is contained in:
Konrad Pozniak 2019-06-24 22:15:31 +02:00 committed by GitHub
commit 707f3e605c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 16 additions and 20 deletions

View file

@ -779,7 +779,7 @@ public abstract class StatusBaseViewHolder extends RecyclerView.ViewHolder {
if (poll == null) {
return "";
} else {
CharSequence[] args = new CharSequence[5];
Object[] args = new CharSequence[5];
List<PollOptionViewData> options = poll.getOptions();
for (int i = 0; i < args.length; i++) {
if (i < options.size()) {