projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
📄 Update year in file headers
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
core
/
event
/
PostRemovedEvent.kt
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
896891f
..
f68214b
100644
(file)
--- 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–2016
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
*
* 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.
*/
/**
* 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)