Skip to content

Conversation

@luhmirin-s
Copy link
Contributor

  • Made code more idiomatic
    • Changed class and property names to follow the code style conventions
    • Removed unnecessary subjectId argument that was being passed around for no apparent reason
    • Refactored global static variables to be instance properties instead
    • Updated tests to do more meaningful assertions using appropriate functions
    • Changed the root package to adhere to Java/Kotlin convention to avoid issues for clients when importing the library
  • Embedded some of the documentation in KDocs in code to be available in IDE hints
  • Cleaned up project setup from most of the Android-specific stuff, could do one more step and make this into a pure Kotlin library without any Android dependencies

gstrag and others added 7 commits November 11, 2024 11:02
* Changed class and property names to follow the code style conventions
* Removed unnecessary subjectId value that was being passed around for no apparent reason
* Refactored global static variable use to be instance properties instead
* Updated tests to do more meaningful assertions using correct functions
* Changed the package to adhere to java/kotlin conventions to avoid build tooling issues in future
* Cleaned up unnecessary android-specific cofnig from build gradle file
Copy link
Contributor

@TristramN TristramN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great cleaning!

@gstrag gstrag merged commit 1c23e84 into main Dec 2, 2024
1 check passed
@gstrag
Copy link
Contributor

gstrag commented Dec 2, 2024

Awesome, thanks Sergejs

@luhmirin-s luhmirin-s deleted the kotlinifying branch December 2, 2024 10:30
@gstrag gstrag restored the kotlinifying branch December 2, 2024 10:45
@gstrag gstrag deleted the kotlinifying branch December 2, 2024 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants