Skip to content

Commit

Permalink
Revert "Add Nullable annotation"
Browse files Browse the repository at this point in the history
This reverts commit 3777c2f.
  • Loading branch information
aditi-bhatia committed Jun 5, 2024
1 parent 42d38a6 commit ea88c46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ea88c46

Please sign in to comment.