Cleanup React comments and unused imports

Summary: Fix some typos in comments.

Reviewed By: astreet

Differential Revision: D3161278

fb-gh-sync-id: 11612487aa5fee5463942d3467f46633ccd9db15
fbshipit-source-id: 11612487aa5fee5463942d3467f46633ccd9db15
This commit is contained in:
Ahmed El-Helw
2016-04-11 14:10:37 -07:00
committed by Facebook Github Bot 8
parent 6b61e5927c
commit c91591b987
3 changed files with 2 additions and 3 deletions

View File

@@ -9,7 +9,6 @@
package com.facebook.react.uimanager;
import android.view.MotionEvent;
import android.view.View;
/**

View File

@@ -28,7 +28,7 @@ public interface ReactClippingViewGroup {
/**
* Notify view that clipping area may have changed and it should recalculate the list of children
* that shold be attached/detached. This method should be called only when property
* that should be attached/detached. This method should be called only when property
* {@code removeClippedSubviews} is set to {@code true} on a view.
*
* CAUTION: Views are responsible for calling {@link #updateClippingRect} on it's children. This

View File

@@ -80,7 +80,7 @@ public class ReactViewGroup extends ViewGroup implements
// temporary optimization/hack that is mainly applicable to the large list of images. The way
// it's implemented is that we store an additional array of children in view node. We selectively
// remove some of the views (detach) from it while still storing them in that additional array.
// We override all possible add methods for {@link ViewGroup} so that we can controll this process
// We override all possible add methods for {@link ViewGroup} so that we can control this process
// whenever the option is set. We also override {@link ViewGroup#getChildAt} and
// {@link ViewGroup#getChildCount} so those methods may return views that are not attached.
// This is risky but allows us to perform a correct cleanup in {@link NativeViewHierarchyManager}.