From 352b6fc7c174f48a3488911c16fb088c4d7e0c7c Mon Sep 17 00:00:00 2001 From: Marcus Hoffmann Date: Mon, 15 Jun 2020 20:13:09 +0200 Subject: [PATCH] add NonNull annotations to override method --- .../org/fdroid/fdroid/views/categories/CategoryController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/fdroid/fdroid/views/categories/CategoryController.java b/app/src/main/java/org/fdroid/fdroid/views/categories/CategoryController.java index 9cbaa4d8b..b9c02229c 100644 --- a/app/src/main/java/org/fdroid/fdroid/views/categories/CategoryController.java +++ b/app/src/main/java/org/fdroid/fdroid/views/categories/CategoryController.java @@ -220,7 +220,7 @@ public class CategoryController extends RecyclerView.ViewHolder implements Loade } @Override - public void getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) { + public void getItemOffsets(Rect outRect, @NonNull View view, @NonNull RecyclerView parent, @NonNull RecyclerView.State state) { Resources r = context.getResources(); int horizontalPadding = (int) r.getDimension(R.dimen.category_preview__app_list__padding__horizontal); int horizontalPaddingFirst = (int) r.getDimension(