From 0b495ec1d6558c8f6b88be3baf61501bb2020579 Mon Sep 17 00:00:00 2001 From: Antonis Lilis Date: Fri, 31 May 2024 16:02:48 +0300 Subject: [PATCH] Adds NonNull annotation --- .../wordpress/android/ui/comments/CommentDetailFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WordPress/src/main/java/org/wordpress/android/ui/comments/CommentDetailFragment.java b/WordPress/src/main/java/org/wordpress/android/ui/comments/CommentDetailFragment.java index 959c7e9f1f33..ed71c3b2620d 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/comments/CommentDetailFragment.java +++ b/WordPress/src/main/java/org/wordpress/android/ui/comments/CommentDetailFragment.java @@ -136,7 +136,7 @@ public abstract class CommentDetailFragment extends ViewPagerFragment implements @Nullable private OnPostClickListener mOnPostClickListener; @Nullable private OnCommentActionListener mOnCommentActionListener; @Nullable private OnNoteCommentActionListener mOnNoteCommentActionListener; - protected CommentSource mCommentSource; // this will be non-null when onCreate() + @NonNull protected CommentSource mCommentSource; // this will be non-null when onCreate() /* * these determine which actions (moderation, replying, marking as spam) to enable