1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-25 12:32:31 +01:00

Removed InfoListAdapter from checkstyle-suppressions

because if you modify something in the code the suppressions-file no longer matches
This commit is contained in:
litetex 2022-01-15 17:40:08 +01:00
parent 2c51a7970d
commit cd8c7ec3c0
2 changed files with 2 additions and 4 deletions

View File

@ -212,6 +212,7 @@ public class InfoListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolde
return count; return count;
} }
@SuppressWarnings("FinalParameters")
@Override @Override
public int getItemViewType(int position) { public int getItemViewType(int position) {
if (DEBUG) { if (DEBUG) {
@ -284,6 +285,7 @@ public class InfoListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolde
} }
} }
@SuppressWarnings("FinalParameters")
@Override @Override
public void onBindViewHolder(@NonNull final RecyclerView.ViewHolder holder, int position) { public void onBindViewHolder(@NonNull final RecyclerView.ViewHolder holder, int position) {
if (DEBUG) { if (DEBUG) {

View File

@ -7,10 +7,6 @@
files="LocalItemListAdapter.java" files="LocalItemListAdapter.java"
lines="232,304"/> lines="232,304"/>
<suppress checks="FinalParameters"
files="InfoListAdapter.java"
lines="253,325"/>
<suppress checks="FinalParameters" <suppress checks="FinalParameters"
files="ListHelper.java" files="ListHelper.java"
lines="280,312"/> lines="280,312"/>