Closed hossain-khan closed 7 months ago
This update involves a simple yet significant change to the visibility of the EnumCustomJsonAdapter
class within the Moshi library. By altering the access level from internal
to default (package-private), the class is hidden from external access, aligning with the objective to encapsulate its functionality and prevent unintended usage outside its designated package.
File Path | Change Summary |
---|---|
parser/src/main/kotlin/moshi/EnumCustomJsonAdapter.kt |
Changed access level from internal to default (package-private). |
Objective | Addressed | Explanation |
---|---|---|
Hide moshi adapter from being exposed (#72) | ✅ |
In the codebase, deep and wide,
A change was made with care and pride.
🐰 A rabbit hopped, through lines and loops,
To hide a class from prying groups.With access shifted, scope now tight,
The adapter fades from external sight.
🌟 In silence, it shall now abide,
A secret kept, from the outside.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Fixes #72
Summary by CodeRabbit