projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove bucket and access type from command interface
[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
dc1841b
..
57ea00f
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/MarkAsKnownPage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/MarkAsKnownPage.java
@@
-77,7
+77,7
@@
public class MarkAsKnownPage extends SoneTemplatePage {
continue;
}
webInterface.getCore().markReplyKnown(reply.get());
- } else
if (type.equals("sone"))
{
+ } else {
Optional<Sone> sone = webInterface.getCore().getSone(id);
if (!sone.isPresent()) {
continue;