-
Notifications
You must be signed in to change notification settings - Fork 1
migrate to kotlin #39
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
Conversation
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.
Pull request overview
This pull request migrates the project from Java to Kotlin, converting utility classes, service implementations, model classes, listeners, controllers, configuration files, and command classes to their Kotlin equivalents.
Changes:
- Converted all Java classes to Kotlin syntax while maintaining functionality
- Updated JDK version from 21 to 25 in GitHub workflow
- Removed unused helper method in TypeScript code
Reviewed changes
Copilot reviewed 100 out of 104 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/main/kotlin/dev/robothanzo/werewolf/utils/*.kt | Utility classes converted to Kotlin |
| src/main/kotlin/dev/robothanzo/werewolf/service/impl/*.kt | Service implementations migrated to Kotlin |
| src/main/kotlin/dev/robothanzo/werewolf/model/*.kt | Model classes converted to Kotlin data classes |
| src/main/kotlin/dev/robothanzo/werewolf/listeners/*.kt | Event listeners migrated to Kotlin |
| src/main/kotlin/dev/robothanzo/werewolf/controller/*.kt | REST controllers converted to Kotlin |
| src/main/kotlin/dev/robothanzo/werewolf/config/*.kt | Configuration classes migrated to Kotlin |
| src/main/kotlin/dev/robothanzo/werewolf/commands/*.kt | Command classes converted to Kotlin |
| src/main/kotlin/dev/robothanzo/werewolf/database/*.kt | Database-related classes migrated to Kotlin |
| src/main/kotlin/dev/robothanzo/werewolf/security/*.kt | Security components converted to Kotlin |
| .github/workflows/build.yml | Updated Java version to 25 |
Files not reviewed (3)
- .idea/kotlinc.xml: Language not supported
- .idea/modules.xml: Language not supported
- .idea/modules/dev.robothanzo.werewolf.WerewolfHelper.main.iml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/main/kotlin/dev/robothanzo/werewolf/config/WebSocketConfig.kt
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@copilot please scan for
|
|
@RobotHanzo I've opened a new pull request, #40, to work on those changes. Once the pull request is ready, I'll request review from you. |
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.
Pull request overview
Copilot reviewed 100 out of 104 changed files in this pull request and generated 1 comment.
Files not reviewed (3)
- .idea/kotlinc.xml: Language not supported
- .idea/modules.xml: Language not supported
- .idea/modules/dev.robothanzo.werewolf.WerewolfHelper.main.iml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
* migrate to kotlin * update workflow to use jdk 25 * Update src/main/kotlin/dev/robothanzo/werewolf/config/WebSocketConfig.kt Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * refactor: streamline collections usage and enhance WebSocket session management * refactor: optimize mutable collections and improve string interpolation across services * fix compile issues --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.