mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix typos in Native Animated error messages
Summary: see title Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D22008982 fbshipit-source-id: 056b0d99e8e81a1b11cd054e6c813002ae0b7014
This commit is contained in:
committed by
Facebook GitHub Bot
parent
23f2ec7e8c
commit
0d073013a5
+7
-7
@@ -136,7 +136,7 @@ import java.util.Queue;
|
||||
AnimatedNode node = mAnimatedNodes.get(tag);
|
||||
if (node == null || !(node instanceof ValueAnimatedNode)) {
|
||||
throw new JSApplicationIllegalArgumentException(
|
||||
"Animated node with tag " + tag + " does not exists or is not a 'value' node");
|
||||
"Animated node with tag " + tag + " does not exist, or is not a 'value' node");
|
||||
}
|
||||
((ValueAnimatedNode) node).setValueListener(listener);
|
||||
}
|
||||
@@ -145,7 +145,7 @@ import java.util.Queue;
|
||||
AnimatedNode node = mAnimatedNodes.get(tag);
|
||||
if (node == null || !(node instanceof ValueAnimatedNode)) {
|
||||
throw new JSApplicationIllegalArgumentException(
|
||||
"Animated node with tag " + tag + " does not exists or is not a 'value' node");
|
||||
"Animated node with tag " + tag + " does not exist, or is not a 'value' node");
|
||||
}
|
||||
((ValueAnimatedNode) node).setValueListener(null);
|
||||
}
|
||||
@@ -154,7 +154,7 @@ import java.util.Queue;
|
||||
AnimatedNode node = mAnimatedNodes.get(tag);
|
||||
if (node == null || !(node instanceof ValueAnimatedNode)) {
|
||||
throw new JSApplicationIllegalArgumentException(
|
||||
"Animated node with tag " + tag + " does not exists or is not a 'value' node");
|
||||
"Animated node with tag " + tag + " does not exist, or is not a 'value' node");
|
||||
}
|
||||
stopAnimationsForNode(node);
|
||||
((ValueAnimatedNode) node).mValue = value;
|
||||
@@ -165,7 +165,7 @@ import java.util.Queue;
|
||||
AnimatedNode node = mAnimatedNodes.get(tag);
|
||||
if (node == null || !(node instanceof ValueAnimatedNode)) {
|
||||
throw new JSApplicationIllegalArgumentException(
|
||||
"Animated node with tag " + tag + " does not exists or is not a 'value' node");
|
||||
"Animated node with tag " + tag + " does not exist, or is not a 'value' node");
|
||||
}
|
||||
((ValueAnimatedNode) node).mOffset = offset;
|
||||
mUpdatedNodes.put(tag, node);
|
||||
@@ -175,7 +175,7 @@ import java.util.Queue;
|
||||
AnimatedNode node = mAnimatedNodes.get(tag);
|
||||
if (node == null || !(node instanceof ValueAnimatedNode)) {
|
||||
throw new JSApplicationIllegalArgumentException(
|
||||
"Animated node with tag " + tag + " does not exists or is not a 'value' node");
|
||||
"Animated node with tag " + tag + " does not exist, or is not a 'value' node");
|
||||
}
|
||||
((ValueAnimatedNode) node).flattenOffset();
|
||||
}
|
||||
@@ -184,7 +184,7 @@ import java.util.Queue;
|
||||
AnimatedNode node = mAnimatedNodes.get(tag);
|
||||
if (node == null || !(node instanceof ValueAnimatedNode)) {
|
||||
throw new JSApplicationIllegalArgumentException(
|
||||
"Animated node with tag " + tag + " does not exists or is not a 'value' node");
|
||||
"Animated node with tag " + tag + " does not exist, or is not a 'value' node");
|
||||
}
|
||||
((ValueAnimatedNode) node).extractOffset();
|
||||
}
|
||||
@@ -194,7 +194,7 @@ import java.util.Queue;
|
||||
AnimatedNode node = mAnimatedNodes.get(animatedNodeTag);
|
||||
if (node == null) {
|
||||
throw new JSApplicationIllegalArgumentException(
|
||||
"Animated node with tag " + animatedNodeTag + " does not exists");
|
||||
"Animated node with tag " + animatedNodeTag + " does not exist");
|
||||
}
|
||||
if (!(node instanceof ValueAnimatedNode)) {
|
||||
throw new JSApplicationIllegalArgumentException(
|
||||
|
||||
Reference in New Issue
Block a user