diff -r bbf4eb9a71f8 -r bf67e0ff7131 src/main/kotlin/de/uapcore/lightpit/entities/Issue.kt --- a/src/main/kotlin/de/uapcore/lightpit/entities/Issue.kt Mon Aug 05 17:41:56 2024 +0200 +++ b/src/main/kotlin/de/uapcore/lightpit/entities/Issue.kt Mon Aug 05 18:40:47 2024 +0200 @@ -52,23 +52,4 @@ * An issue is overdue, if it is not done and the ETA is before the current time. */ val overdue get() = status.phase != IssueStatusPhase.Done && eta?.before(Date(System.currentTimeMillis())) ?: false - - fun hasChanged(reference: Issue) = !(component == reference.component && - status == reference.status && - category == reference.category && - subject == reference.subject && - description == reference.description && - assignee == reference.assignee && - eta == reference.eta && - affected == reference.affected && - resolved == reference.resolved) - - fun compareEtaTo(date: Date?): Int { - val eta = this.eta - return if (eta == null && date == null) 0 - else if (eta == null) 1 - else if (date == null) -1 - else eta.compareTo(date) - } } -