src/main/kotlin/de/uapcore/lightpit/viewmodel/Feeds.kt

changeset 260
fb2ae2d63a56
parent 242
b7f3e972b13c
     1.1 --- a/src/main/kotlin/de/uapcore/lightpit/viewmodel/Feeds.kt	Thu Dec 29 14:53:05 2022 +0100
     1.2 +++ b/src/main/kotlin/de/uapcore/lightpit/viewmodel/Feeds.kt	Thu Dec 29 15:04:21 2022 +0100
     1.3 @@ -63,5 +63,5 @@
     1.4      val entries: List<IssueFeedEntry>
     1.5  ) : View() {
     1.6      val lastModified: Timestamp =
     1.7 -        entries.map(IssueFeedEntry::time).maxOrNull() ?: Timestamp.from(Instant.now())
     1.8 +        entries.maxOfOrNull(IssueFeedEntry::time) ?: Timestamp.from(Instant.now())
     1.9  }
    1.10 \ No newline at end of file

mercurial