Add Nullable annotation into Mounting Manager

Summary: trivial diff to remove warnings because of the lack of Nullable annotations in MountingManager.ViewState

Reviewed By: shergin

Differential Revision: D15476040

fbshipit-source-id: 2b9a4efa1be1d5aa29d4e32cf32c8ff502f7c60c
This commit is contained in:
David Vacca
2019-05-24 11:30:30 -07:00
committed by Facebook Github Bot
parent 92f8fd22e2
commit 6f63b054b6
@@ -368,10 +368,10 @@ public class MountingManager {
final int mReactTag;
final boolean mIsRoot;
@Nullable final ViewManager mViewManager;
public ReactStylesDiffMap mCurrentProps = null;
public ReadableMap mCurrentLocalData = null;
public ReadableMap mCurrentState = null;
public EventEmitterWrapper mEventEmitter = null;
@Nullable public ReactStylesDiffMap mCurrentProps = null;
@Nullable public ReadableMap mCurrentLocalData = null;
@Nullable public ReadableMap mCurrentState = null;
@Nullable public EventEmitterWrapper mEventEmitter = null;
private ViewState(int reactTag, @Nullable View view, @Nullable ViewManager viewManager) {
this(reactTag, view, viewManager, false);