Skip to content
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

Replace Enum.values() with Enum.entries #3

Closed
jnk-cons opened this issue Sep 24, 2023 · 0 comments
Closed

Replace Enum.values() with Enum.entries #3

jnk-cons opened this issue Sep 24, 2023 · 0 comments
Assignees
Labels
code optimization Internal changes to the code
Milestone

Comments

@jnk-cons
Copy link
Owner

Since Kotlin 1.9 Enum.entries is recommended

Old:

BatTag.values()

New:

BatTag.entries
@jnk-cons jnk-cons added the code optimization Internal changes to the code label Sep 24, 2023
@jnk-cons jnk-cons added this to the 2.1.0 milestone Sep 24, 2023
@jnk-cons jnk-cons self-assigned this Sep 24, 2023
jnk-cons added a commit that referenced this issue Jan 22, 2024
* added develop branch for the next release

* #2 - Made DataBuilder().none() call optional (#8)

* #3 - values() call replaced by entries (kotlin 1.9) (#10)

* #6 - added documentation for EMSTag.MODE and EMSTag.REQ_MODE (#11)

* #7 - added documentation for EMSTag.BALANCED_PHASES and EMSTag.REQ_BALANCED_PHASES (#12)

* #13 - Added BatterySystem service + a bunch of new Bat Tags. (#16)

* #14 - Updated SLF4j, BouncyCastle, JUnit and mockk to there newest versions (#18)

* #15 - Added TypeScript examples, linked easy-rscp-js (#19)

* Set version to 2.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code optimization Internal changes to the code
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant