⚰️ Remove unused code
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 21 Jan 2023 22:25:14 +0000 (23:25 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 21 Jan 2023 22:25:14 +0000 (23:25 +0100)
src/main/kotlin/net/pterodactylus/sone/web/NewElements.kt

index 1026f36..6799ada 100644 (file)
@@ -48,5 +48,3 @@ class NewElements @Inject constructor(
                                .flatMap(ListNotification<PostReply>::elements)
                                .filter { replyVisibilityFilter.isReplyVisible(null, it) }
 }
-
-private fun <R> Collection<*>.cast(): List<R> = map { it as R }