Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GH] Replace usage of
java.lang.Class
with kotlin.reflect.KClass
When generating an `equals` method from `commonMain` code, Studio suggests the usage of `if (other == null || this::class != other::class) return false` instead of `if (javaClass != other?.javaClass) return false`. I'm just calling this out because of the following line: https://github.com/androidx/androidx/blob/88877d72f62df51fc9dd040da322c9046aa81f67/paging/paging-common/src/main/kotlin/androidx/paging/TransformablePage.kt#L90-L93 Test: ./gradlew test connectedCheck Bug: 270612487 This is an imported pull request from androidx#557. Resolves #557 Github-Pr-Head-Sha: 46f0a47 GitOrigin-RevId: 6174fc5 Change-Id: I3cea473d5c722a3f4e4a212e36db253de976670e
- Loading branch information