We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83d8c3c commit 179fd44Copy full SHA for 179fd44
src/main/kotlin/application/service/ApplicationService.kt
@@ -13,7 +13,7 @@ package application.service
13
* An Application Service handle application logic without business elements.
14
* @param[T] the type returned by the service.
15
*/
16
-interface ApplicationService<out T> {
+fun interface ApplicationService<out T> {
17
/**
18
* Method to execute the application service.
19
* @return the result of type [T]
src/main/kotlin/usecase/UseCase.kt
@@ -11,7 +11,7 @@ package usecase
11
12
* This models a simple use case that return an object of type [X].
-interface UseCase<out X> {
+fun interface UseCase<out X> {
/** Execute the use case returning an object of type [X]. */
fun execute(): X
}
0 commit comments