🔀 Merge “release/v81” into “master”
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / core / event / NewPostFoundEvent.kt
index 6f8e851..876f79c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - NewPostFoundEvent.java - Copyright Â© 2013–2016 David Roden
+ * Sone - NewPostFoundEvent.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 new post was found.
  */
-data class NewPostFoundEvent(val post: Post) {
-
-       @Deprecated(message = "will go away", replaceWith = ReplaceWith("post"))
-       fun post() = post
-
-}
+data class NewPostFoundEvent(val post: Post)