Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
No need for open keyword if you are not a @configuration
- Loading branch information
1 parent
6e810d0
commit a9045e1
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
9 changes: 5 additions & 4 deletions
9
applications/billing/src/main/kotlin/com/example/billing/Application.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a9045e1There 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.
I come here from your wonderful post The Journey of a Spring Boot application from Java 8 to Kotlin. Kotlin has already provided a corresponding plugin to omit this annoying open keyword before @configuration classes as well as @bean methods.
https://kotlinlang.org/docs/reference/compiler-plugins.html#all-open-compiler-plugin Hope it can help.