Skip to content

Commit

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

Fix lint warns

changelog: [internal] internal

Reviewed By: arushikesarwani94

Differential Revision: D47445900

fbshipit-source-id: 66ca6a8725f18c8410e28c78667cb3cac524a142
  • Loading branch information
mdvacca committed Jul 25, 2023
1 parent c5b1779 commit ad54b07
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 ad54b07

Please sign in to comment.