projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove booleans from method signatures, create explicit methods.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
web
/
MarkAsKnownPage.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/MarkAsKnownPage.java
b/src/main/java/net/pterodactylus/sone/web/MarkAsKnownPage.java
index
98984dd
..
59bcf2e
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/MarkAsKnownPage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/MarkAsKnownPage.java
@@
-74,7
+74,7
@@
public class MarkAsKnownPage extends SoneTemplatePage {
if (!reply.isPresent()) {
continue;
}
if (!reply.isPresent()) {
continue;
}
-
webInterface.getCore().markReplyKnown(reply.get
());
+
reply.get().modify().setKnown().update(webInterface.getCore().postReplyUpdated
());
} else if (type.equals("sone")) {
Optional<Sone> sone = webInterface.getCore().getSone(id);
if (!sone.isPresent()) {
} else if (type.equals("sone")) {
Optional<Sone> sone = webInterface.getCore().getSone(id);
if (!sone.isPresent()) {