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=95cc3ee6b62e3b365429bacdd947af2715c30324;hp=c0d13a57e0e75cdb94bf9756f659adad16c95590;hb=04709e23f38e9d447337682ba27201da5dc19bd9;hpb=1066319a0cedaa2c809c63c2c3cfadfbc7ce8dfa 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 c0d13a5..95cc3ee 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.java - Copyright © 2013–2016 David Roden + * Sone - NewPostReplyFoundEvent.kt - Copyright © 2013–2019 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)