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

Refactor spring-boot-kotlin-redis example to be more Kotlin idiomatic #7185

Merged
merged 4 commits into from Jun 20, 2023

Conversation

jitokim
Copy link
Contributor

@jitokim jitokim commented Jun 11, 2023

I have made several changes to the "spring-boot-kotlin-redis" example to make it more Kotlin idiomatic.

Here is a summary of the changes:

Refactored static fields to companion objects to follow Kotlin conventions.

Replaced the usage of autowired with constructor injection.

Converted the build.gradle file from Groovy to Kotlin DSL to align with the project's Kotlin nature.

… to make it more Kotlin idiomatic.

Here is a summary of the changes:
Refactored static fields to companion objects to follow Kotlin conventions.
Replaced the usage of autowired with constructor injection.
Converted the build.gradle file from Groovy to Kotlin DSL to align with the project's Kotlin nature.

Signed-off-by: jitokim <pigberger70@gmail.com>
@jitokim jitokim requested a review from a team as a code owner June 11, 2023 15:04
@eddumelendez eddumelendez added this to the next milestone Jun 20, 2023
@eddumelendez eddumelendez merged commit d106d3f into testcontainers:main Jun 20, 2023
85 checks passed
@eddumelendez
Copy link
Member

Thanks for your contribution, @jitokim !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants