From 180e41a5c3082a63e88555d6701b6198fde0a259 Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 24 Mar 2018 10:02:05 +0100 Subject: [PATCH] Remove useless variable declaration. --- .../android/comunic/client/ui/adapters/CommentsAdapter.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/org/communiquons/android/comunic/client/ui/adapters/CommentsAdapter.java b/app/src/main/java/org/communiquons/android/comunic/client/ui/adapters/CommentsAdapter.java index 0bfcb20..c2ae879 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/ui/adapters/CommentsAdapter.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/ui/adapters/CommentsAdapter.java @@ -76,9 +76,6 @@ class CommentsAdapter extends ArrayAdapter { private static View fillView(final Context context, final View view, final Comment comment, @Nullable UserInfo user, final PostsAdapter.onPostUpdate listener) { - //Check whether the current user is the owner of the comment or not - final boolean isOwner = AccountUtils.getID(context) == comment.getUserID(); - //Update user name and account image ImageView accountImage = view.findViewById(R.id.user_account_image); TextView accountName = view.findViewById(R.id.user_account_name);