From 6f63b054b604a676df7d6500c4cf84f4d91df95b Mon Sep 17 00:00:00 2001 From: David Vacca Date: Fri, 24 May 2019 11:22:09 -0700 Subject: [PATCH] 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 --- .../facebook/react/fabric/mounting/MountingManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountingManager.java b/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountingManager.java index 43caf8fcfab..c4e19f27717 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountingManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountingManager.java @@ -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);