Skip to content

Commit

Permalink
Remove unused operator functions in example models
Browse files Browse the repository at this point in the history
  • Loading branch information
Thijsiez committed Oct 7, 2024
1 parent 2f99c06 commit aee384a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions examples/src/main/kotlin/ch/icken/model/Client.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,5 @@ data class Client(

) : PanacheEntity() {

operator fun plusAssign(assignment: Assignment) {
assignments.add(assignment)
}
operator fun minusAssign(assignment: Assignment) {
assignments.remove(assignment)
}

companion object : PanacheCompanion<Client>
}
7 changes: 0 additions & 7 deletions examples/src/main/kotlin/ch/icken/model/Department.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,5 @@ data class Department(

) : PanacheEntity() {

operator fun plusAssign(employee: Employee) {
employees.add(employee)
}
operator fun minusAssign(employee: Employee) {
employees.remove(employee)
}

companion object : PanacheCompanion<Department>
}

0 comments on commit aee384a

Please sign in to comment.