projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
🔥 Remove deprecated methods
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
web
/
WebInterface.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/WebInterface.java
b/src/main/java/net/pterodactylus/sone/web/WebInterface.java
index
e8aea1b
..
cf67c0b
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/WebInterface.java
+++ b/
src/main/java/net/pterodactylus/sone/web/WebInterface.java
@@
-782,7
+782,7
@@
public class WebInterface implements SessionProvider {
*/
@Subscribe
public void newPostFound(NewPostFoundEvent newPostFoundEvent) {
*/
@Subscribe
public void newPostFound(NewPostFoundEvent newPostFoundEvent) {
- Post post = newPostFoundEvent.
p
ost();
+ Post post = newPostFoundEvent.
getP
ost();
boolean isLocal = post.getSone().isLocal();
if (isLocal) {
localPostNotification.add(post);
boolean isLocal = post.getSone().isLocal();
if (isLocal) {
localPostNotification.add(post);
@@
-808,7
+808,7
@@
public class WebInterface implements SessionProvider {
*/
@Subscribe
public void newReplyFound(NewPostReplyFoundEvent newPostReplyFoundEvent) {
*/
@Subscribe
public void newReplyFound(NewPostReplyFoundEvent newPostReplyFoundEvent) {
- PostReply reply = newPostReplyFoundEvent.
p
ostReply();
+ PostReply reply = newPostReplyFoundEvent.
getP
ostReply();
boolean isLocal = reply.getSone().isLocal();
if (isLocal) {
localReplyNotification.add(reply);
boolean isLocal = reply.getSone().isLocal();
if (isLocal) {
localReplyNotification.add(reply);
@@
-854,7
+854,7
@@
public class WebInterface implements SessionProvider {
@Subscribe
public void postRemoved(PostRemovedEvent postRemovedEvent) {
@Subscribe
public void postRemoved(PostRemovedEvent postRemovedEvent) {
- removePost(postRemovedEvent.
p
ost());
+ removePost(postRemovedEvent.
getP
ost());
}
private void removePost(Post post) {
}
private void removePost(Post post) {
@@
-867,7
+867,7
@@
public class WebInterface implements SessionProvider {
@Subscribe
public void replyRemoved(PostReplyRemovedEvent postReplyRemovedEvent) {
@Subscribe
public void replyRemoved(PostReplyRemovedEvent postReplyRemovedEvent) {
- removeReply(postReplyRemovedEvent.
p
ostReply());
+ removeReply(postReplyRemovedEvent.
getP
ostReply());
}
private void removeReply(PostReply reply) {
}
private void removeReply(PostReply reply) {