mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix lint warnings (#37699)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37699 Fix lint warnings bypass-github-export-checks changelog: [internal] internal Reviewed By: cortinico, philIip Differential Revision: D46407027 fbshipit-source-id: 80acd2a811f712be6a4b228ec3450dcbdf0d3ce3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f821797e51
commit
8351b08088
+1
-1
@@ -115,7 +115,7 @@ public class BridgelessReactContext extends ReactApplicationContext
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
|
||||
public @Nullable Object invoke(Object proxy, Method method, @Nullable Object[] args) {
|
||||
NativeArray jsArgs = args != null ? Arguments.fromJavaArgs(args) : new WritableNativeArray();
|
||||
mReactHost.callFunctionOnModule(
|
||||
JavaScriptModuleRegistry.getJSModuleName(mJSModuleInterface), method.getName(), jsArgs);
|
||||
|
||||
+1
-1
@@ -333,6 +333,6 @@ public class InspectorPackagerConnection {
|
||||
}
|
||||
|
||||
public interface BundleStatusProvider {
|
||||
public BundleStatus getBundleStatus();
|
||||
BundleStatus getBundleStatus();
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -111,7 +111,7 @@ public interface DevSupportManager extends JSExceptionHandler {
|
||||
* determined right before loading the packager. Your customizer must call |callback|, as loading
|
||||
* will be blocked waiting for it to resolve.
|
||||
*/
|
||||
public interface PackagerLocationCustomizer {
|
||||
interface PackagerLocationCustomizer {
|
||||
void run(Runnable callback);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user