Add @Nullable annotation to FlatShadowNode.obtainLayoutEvent()

Summary: Lint tool raised a warning. This diff is fixing it.

Reviewed By: sriramramani

Differential Revision: D2977649
This commit is contained in:
Denis Koroskin 2016-02-25 17:20:10 -08:00 committed by Ahmed El-Helw
parent ca7a3519cf
commit b9e3ef2d5f
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ import com.facebook.react.uimanager.annotations.ReactProp;
return mDrawView;
}
@Nullable
/* package */ final OnLayoutEvent obtainLayoutEvent(int x, int y, int width, int height) {
if (mLayoutX == x && mLayoutY == y && mLayoutWidth == width && mLayoutHeight == height) {
return null;