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

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

mercurial