-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Migrate Internal Constants class to kotlin #510
refactor: Migrate Internal Constants class to kotlin #510
Conversation
|
||
class BatchId { | ||
var mpid: Long | ||
get() = field |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These get()
methods should be able to be removed as well since they just return the value which the automatic getter will already do.
Everything else looks good to go |
var sessionId: String? | ||
var dataplanId: String? | ||
var dataplanVersion: Int? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var sessionId: String? | |
var dataplanId: String? | |
var dataplanVersion: Int? | |
val sessionId: String? | |
val dataplanId: String? | |
val dataplanVersion: Int? |
All of these should be val
unless we need to set them after object instantiation, val
should work fine with optionals as long as they're all set in all constructors (even if set to null).
## [5.58.3](v5.58.2...v5.58.3) (2024-10-15) ### Updates & Maintenance * Migrate Internal Constants class to kotlin ([#510](#510)) ([2fd32f6](2fd32f6)) * Migrate MPLifecycleCallbackDelegate and MPLocationListener class to Kotlin ([#506](#506)) ([687e623](687e623)) * Remove unused session history upload code ([#507](#507)) ([a86cd3b](a86cd3b)) * Update submodules ([c0ffeb6](c0ffeb6))
🎉 This PR is included in version 5.58.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
## [5.58.3](v5.58.2...v5.58.3) (2024-10-24) ### Updates & Maintenance * Migrate Internal Constants class to kotlin ([#510](#510)) ([2fd32f6](2fd32f6)) * Migrate MPLifecycleCallbackDelegate and MPLocationListener class to Kotlin ([#506](#506)) ([687e623](687e623)) * Remove unused session history upload code ([#507](#507)) ([a86cd3b](a86cd3b)) * Update submodules ([81e50ca](81e50ca))
🎉 This PR is included in version 5.58.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Instructions
development
Summary
Testing Plan
Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)