diff --git a/libs/editor/src/main/java/org/wordpress/android/editor/gutenberg/GutenbergContainerFragment.java b/libs/editor/src/main/java/org/wordpress/android/editor/gutenberg/GutenbergContainerFragment.java index 10792f5195d6..9d6743a99dc3 100644 --- a/libs/editor/src/main/java/org/wordpress/android/editor/gutenberg/GutenbergContainerFragment.java +++ b/libs/editor/src/main/java/org/wordpress/android/editor/gutenberg/GutenbergContainerFragment.java @@ -311,7 +311,7 @@ public void onRedoPressed() { mWPAndroidGlueCode.onRedoPressed(); } - public void updateCapabilities(@Nullable GutenbergPropsBuilder gutenbergPropsBuilder) { + public void updateCapabilities(GutenbergPropsBuilder gutenbergPropsBuilder) { // We want to make sure that activity isn't null // as it can make this crash to happen: https://github.com/wordpress-mobile/WordPress-Android/issues/13248 final Activity activity = getActivity(); diff --git a/libs/editor/src/main/java/org/wordpress/android/editor/gutenberg/GutenbergEditorFragment.java b/libs/editor/src/main/java/org/wordpress/android/editor/gutenberg/GutenbergEditorFragment.java index 8176635d89fd..c8dc71940370 100644 --- a/libs/editor/src/main/java/org/wordpress/android/editor/gutenberg/GutenbergEditorFragment.java +++ b/libs/editor/src/main/java/org/wordpress/android/editor/gutenberg/GutenbergEditorFragment.java @@ -158,7 +158,7 @@ public class GutenbergEditorFragment extends EditorFragmentAbstract implements private boolean mIsJetpackSsoEnabled; private boolean mEditorDidMount; - @Nullable private GutenbergPropsBuilder mCurrentGutenbergPropsBuilder; + private GutenbergPropsBuilder mCurrentGutenbergPropsBuilder; private boolean mUpdateCapabilitiesOnCreate = false; private String mExternallyEditedBlockOriginalHash = null; private boolean mStoryBlockReplacedSignalWait = false;