[android] Remove outdated references to shadow nodes in errors etc.

This commit is contained in:
Mikael Sand
2018-10-22 19:06:18 +03:00
parent 13b91aab39
commit 0c37a0c5e8
3 changed files with 4 additions and 7 deletions
@@ -36,9 +36,6 @@ import java.util.regex.Pattern;
import javax.annotation.Nullable;
/**
* Renderable shadow node
*/
abstract public class RenderableView extends VirtualView {
RenderableView(ReactContext reactContext) {
@@ -355,7 +352,7 @@ abstract public class RenderableView extends VirtualView {
}
/**
* Sets up paint according to the props set on a shadow view. Returns {@code true}
* Sets up paint according to the props set on a view. Returns {@code true}
* if the fill should be drawn, {@code false} if not.
*/
private boolean setupFillPaint(Paint paint, float opacity) {
@@ -370,7 +367,7 @@ abstract public class RenderableView extends VirtualView {
}
/**
* Sets up paint according to the props set on a shadow view. Returns {@code true}
* Sets up paint according to the props set on a view. Returns {@code true}
* if the stroke should be drawn, {@code false} if not.
*/
private boolean setupStrokePaint(Paint paint, float opacity) {
@@ -20,7 +20,7 @@ import javax.annotation.Nullable;
/**
* ViewManager for RNSVGSvgView React views. Renders as a {@link SvgView} and handles
* invalidating the native view on shadow view updates happening in the underlying tree.
* invalidating the native view on view updates happening in the underlying tree.
*/
class SvgViewManager extends ReactViewManager {
@@ -322,7 +322,7 @@ abstract public class VirtualView extends ViewGroup {
} else if (parent instanceof VirtualView) {
svgView = ((VirtualView) parent).getSvgView();
} else {
FLog.e(ReactConstants.TAG, "RNSVG: " + getClass().getName() + " should be descendant of a SvgViewShadow.");
FLog.e(ReactConstants.TAG, "RNSVG: " + getClass().getName() + " should be descendant of a SvgView.");
}
return svgView;