Compare commits

...
Author SHA1 Message Date
CodemodService Bot fbe58f6e12 Fix CQS signal. Id] 22447575 -- modernize-use-nullptr in xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/jni/react/jni
Reviewed By: dtolnay

Differential Revision: D71798310
2025-03-25 10:26:50 -07:00
@@ -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;
}