Skip to content

Commit e9af9a1

Browse files
GijsWeteringsfacebook-github-bot
authored andcommitted
Apply Nullsafe FIXMEs for xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevServerHelper.java (#50059)
Summary: Pull Request resolved: #50059 Note this diff is only adding FIXMEs that will be removed in the next diff. This diff exists to make the next diff easily reviewable Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D71126395 fbshipit-source-id: fb42b12dae542bde6e0e9e58baeaab054ed8c49e
1 parent 3289569 commit e9af9a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevServerHelper.java

+2
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ protected Void doInBackground(Void... params) {
208208

209209
mInspectorPackagerConnection =
210210
new CxxInspectorPackagerConnection(
211+
// NULLSAFE_FIXME[Parameter Not Nullable]
211212
getInspectorDeviceUrl(), metadata.get("deviceName"), mPackageName);
212213
mInspectorPackagerConnection.connect();
213214
return null;
@@ -457,6 +458,7 @@ public String getSourceUrl(String mainModuleName) {
457458
}
458459

459460
try (Sink output = Okio.sink(outputFile)) {
461+
// NULLSAFE_FIXME[Nullable Dereference]
460462
Okio.buffer(response.body().source()).readAll(output);
461463
}
462464

0 commit comments

Comments
 (0)