X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2Fevent%2FNewPostReplyFoundEvent.kt;h=ec339d5aedfeb5399b88518ee7d4cabb6949f451;hp=a70d1b90c8edef78475d00a66c4c88942a20fb71;hb=faf66247a34f64946990a985d2ea3003465969cb;hpb=96d5dabc7fd0f7a36207f8ca97bcf278aa6efce5 diff --git a/src/main/kotlin/net/pterodactylus/sone/core/event/NewPostReplyFoundEvent.kt b/src/main/kotlin/net/pterodactylus/sone/core/event/NewPostReplyFoundEvent.kt index a70d1b9..ec339d5 100644 --- a/src/main/kotlin/net/pterodactylus/sone/core/event/NewPostReplyFoundEvent.kt +++ b/src/main/kotlin/net/pterodactylus/sone/core/event/NewPostReplyFoundEvent.kt @@ -1,5 +1,5 @@ /* - * Sone - NewPostReplyFoundEvent.kt - Copyright © 2013–2019 David Roden + * Sone - NewPostReplyFoundEvent.kt - Copyright © 2013–2020 David Roden * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,9 +22,4 @@ import net.pterodactylus.sone.data.PostReply /** * Event that signals that a new [PostReply] was found. */ -data class NewPostReplyFoundEvent(val postReply: PostReply) { - - @Deprecated(message = "will go away", replaceWith = ReplaceWith("postReply")) - fun postReply() = postReply - -} +data class NewPostReplyFoundEvent(val postReply: PostReply)