Skip to content

Commit

Permalink
Fix lint warns (#38596)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #38596

Fix lint warns

changelog: [internal] internal

Reviewed By: arushikesarwani94

Differential Revision: D47445900

fbshipit-source-id: af1d30e3889050c15d015cd6f1c35c73210167d9
  • Loading branch information
mdvacca authored and facebook-github-bot committed Jul 29, 2023
1 parent e924685 commit faae720
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,7 @@ public ReactModuleInfoProvider getReactModuleInfoProvider() {
TurboModule.class.isAssignableFrom(moduleClass)));
}

return new ReactModuleInfoProvider() {
@Override
public Map<String, ReactModuleInfo> getReactModuleInfos() {
return reactModuleInfoMap;
}
};
return () -> reactModuleInfoMap;
} catch (InstantiationException e) {
throw new RuntimeException(
"No ReactModuleInfoProvider for CoreModulesPackage$$ReactModuleInfoProvider", e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class ReactModuleInfo {
private final boolean mNeedsEagerInit;
private final boolean mHasConstants;
private final boolean mIsCxxModule;
private String mClassName;
private final String mClassName;
private final boolean mIsTurboModule;

public ReactModuleInfo(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
@ReactModule(name = NativeAppStateSpec.NAME)
public class AppStateModule extends NativeAppStateSpec
implements LifecycleEventListener, WindowFocusChangeListener {
public static final String TAG = AppStateModule.class.getSimpleName();

public static final String APP_STATE_ACTIVE = "active";
public static final String APP_STATE_BACKGROUND = "background";
Expand Down

0 comments on commit faae720

Please sign in to comment.