X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2Fevent%2FPostRemovedEvent.kt;h=f68214b8e78af56a1ab560a55cdb666bc8820da7;hp=d9f5b683309a29b4f066f5b00d346e2816a15a6c;hb=faf66247a34f64946990a985d2ea3003465969cb;hpb=179e7da4d8d8a474d0b622d60b5f5d32d6ab4052 diff --git a/src/main/kotlin/net/pterodactylus/sone/core/event/PostRemovedEvent.kt b/src/main/kotlin/net/pterodactylus/sone/core/event/PostRemovedEvent.kt index d9f5b68..f68214b 100644 --- a/src/main/kotlin/net/pterodactylus/sone/core/event/PostRemovedEvent.kt +++ b/src/main/kotlin/net/pterodactylus/sone/core/event/PostRemovedEvent.kt @@ -1,5 +1,5 @@ /* - * Sone - PostRemovedEvent.java - Copyright © 2013–2019 David Roden + * Sone - PostRemovedEvent.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.Post /** * Event that signals that a [Post] was removed. */ -data class PostRemovedEvent(val post: Post) { - - @Deprecated(message = "will go away", replaceWith = ReplaceWith("post")) - fun post() = post - -} +data class PostRemovedEvent(val post: Post)