Skip to content

Fix lint issues in CatalystInstanceImpl.java#55372

Closed
mdvacca wants to merge 2 commits intofacebook:mainfrom
mdvacca:export-D91795470
Closed

Fix lint issues in CatalystInstanceImpl.java#55372
mdvacca wants to merge 2 commits intofacebook:mainfrom
mdvacca:export-D91795470

Conversation

@mdvacca
Copy link
Contributor

@mdvacca mdvacca commented Jan 30, 2026

Summary:
Fixed two lint warnings in CatalystInstanceImpl.java:

  • NotInvokedPrivateMethod: Removed unused native method unregisterFromInspector()
  • DeadVariable: Removed unused variable wasIdle while keeping the side effect of mPendingJSCalls.getAndSet(0)

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D91795470

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 30, 2026
…essage (facebook#55359)

Summary:

Fixed ReflectionMethodUse lint error in AnimationDriver.kt.

Replaced `javaClass.simpleName` with a hardcoded string to avoid reflection
which can cause issues with Redex obfuscation in production builds.

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D91736698
Summary:

Fixed two lint warnings in CatalystInstanceImpl.java:
- NotInvokedPrivateMethod: Removed unused native method `unregisterFromInspector()`
- DeadVariable: Removed unused variable `wasIdle` while keeping the side effect of `mPendingJSCalls.getAndSet(0)`

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D91795470
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 3, 2026
Summary:

Fixed two lint warnings in CatalystInstanceImpl.java:
- NotInvokedPrivateMethod: Removed unused native method `unregisterFromInspector()`
- DeadVariable: Removed unused variable `wasIdle` while keeping the side effect of `mPendingJSCalls.getAndSet(0)`

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D91795470
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 3, 2026
Summary:

Fixed two lint warnings in CatalystInstanceImpl.java:
- NotInvokedPrivateMethod: Removed unused native method `unregisterFromInspector()`
- DeadVariable: Removed unused variable `wasIdle` while keeping the side effect of `mPendingJSCalls.getAndSet(0)`

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D91795470
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 4, 2026
Summary:

Fixed two lint warnings in CatalystInstanceImpl.java:
- NotInvokedPrivateMethod: Removed unused native method `unregisterFromInspector()`
- DeadVariable: Removed unused variable `wasIdle` while keeping the side effect of `mPendingJSCalls.getAndSet(0)`

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D91795470
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 4, 2026
Summary:

Fixed two lint warnings in CatalystInstanceImpl.java:
- NotInvokedPrivateMethod: Removed unused native method `unregisterFromInspector()`
- DeadVariable: Removed unused variable `wasIdle` while keeping the side effect of `mPendingJSCalls.getAndSet(0)`

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D91795470
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 4, 2026
Summary:

Fixed two lint warnings in CatalystInstanceImpl.java:
- NotInvokedPrivateMethod: Removed unused native method `unregisterFromInspector()`
- DeadVariable: Removed unused variable `wasIdle` while keeping the side effect of `mPendingJSCalls.getAndSet(0)`

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D91795470
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 4, 2026
Summary:

Fixed two lint warnings in CatalystInstanceImpl.java:
- NotInvokedPrivateMethod: Removed unused native method `unregisterFromInspector()`
- DeadVariable: Removed unused variable `wasIdle` while keeping the side effect of `mPendingJSCalls.getAndSet(0)`

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D91795470
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 4, 2026
Summary:

Fixed two lint warnings in CatalystInstanceImpl.java:
- NotInvokedPrivateMethod: Removed unused native method `unregisterFromInspector()`
- DeadVariable: Removed unused variable `wasIdle` while keeping the side effect of `mPendingJSCalls.getAndSet(0)`

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D91795470
@meta-codesync meta-codesync bot closed this in 28f8098 Feb 5, 2026
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @mdvacca in 28f8098

When will my fix make it into a release? | How to file a pick request?

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 5, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 5, 2026

This pull request has been merged in 28f8098.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants