projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
🔀 Merge “next” into “feature/notification-handlers”
[Sone.git]
/
src
/
main
/
kotlin
/
net
/
pterodactylus
/
sone
/
core
/
event
/
NewPostFoundEvent.kt
diff --git
a/src/main/kotlin/net/pterodactylus/sone/core/event/NewPostFoundEvent.kt
b/src/main/kotlin/net/pterodactylus/sone/core/event/NewPostFoundEvent.kt
index
6f8e851
..
83cb618
100644
(file)
--- a/
src/main/kotlin/net/pterodactylus/sone/core/event/NewPostFoundEvent.kt
+++ b/
src/main/kotlin/net/pterodactylus/sone/core/event/NewPostFoundEvent.kt
@@
-1,5
+1,5
@@
/*
/*
- * Sone - NewPostFoundEvent.
java - Copyright © 2013–2016
David Roden
+ * Sone - NewPostFoundEvent.
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
*
* 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.
*/
/**
* 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)