Skip to content

Commit

Permalink
chore: make interface with one method functional
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-acampora committed May 8, 2023
1 parent 6fdbd7a commit d286f3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import entity.medicaldevice.MedicalDeviceData
import entity.process.ProcessData

/** This interface model the operation on Medical Devices Digital Twins. */
interface MedicalDeviceDigitalTwinManager {
fun interface MedicalDeviceDigitalTwinManager {

/**
* Find the surgical process in which a medical technology is being used.
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/application/service/ApplicationService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ package application.service
* An Application Service handle application logic without business elements.
* @param[T] the type returned by the service.
*/
interface ApplicationService<out T> {
fun interface ApplicationService<out T> {
/**
* Method to execute the application service.
* @return the result of type [T]
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/usecase/UseCase.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package usecase
/**
* 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
Expand Down

0 comments on commit d286f3b

Please sign in to comment.