mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix CQS signal. Id] 22447575 -- modernize-use-nullptr in xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/jni/react/jni (#50256)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50256 Reviewed By: dtolnay Differential Revision: D71798310 fbshipit-source-id: 233822abac4288ab5871718671936bbbd6d571ff
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a0bc9a84d9
commit
0437c4071b
@@ -53,7 +53,7 @@ void WritableNativeArray::pushLong(jlong value) {
|
||||
}
|
||||
|
||||
void WritableNativeArray::pushString(jstring value) {
|
||||
if (value == NULL) {
|
||||
if (value == nullptr) {
|
||||
pushNull();
|
||||
return;
|
||||
}
|
||||
@@ -62,7 +62,7 @@ void WritableNativeArray::pushString(jstring value) {
|
||||
}
|
||||
|
||||
void WritableNativeArray::pushNativeArray(ReadableNativeArray* otherArray) {
|
||||
if (otherArray == NULL) {
|
||||
if (otherArray == nullptr) {
|
||||
pushNull();
|
||||
return;
|
||||
}
|
||||
@@ -71,7 +71,7 @@ void WritableNativeArray::pushNativeArray(ReadableNativeArray* otherArray) {
|
||||
}
|
||||
|
||||
void WritableNativeArray::pushNativeMap(ReadableNativeMap* map) {
|
||||
if (map == NULL) {
|
||||
if (map == nullptr) {
|
||||
pushNull();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user