projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fcp-interface' into next
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
fcp
/
GetPostCommand.java
diff --git
a/src/main/java/net/pterodactylus/sone/fcp/GetPostCommand.java
b/src/main/java/net/pterodactylus/sone/fcp/GetPostCommand.java
index
391694f
..
bb87407
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/fcp/GetPostCommand.java
+++ b/
src/main/java/net/pterodactylus/sone/fcp/GetPostCommand.java
@@
-36,7
+36,7
@@
public class GetPostCommand extends AbstractSoneCommand {
* @param core
* The Sone core
*/
* @param core
* The Sone core
*/
- p
rotected
GetPostCommand(Core core) {
+ p
ublic
GetPostCommand(Core core) {
super(core);
}
super(core);
}
@@
-48,7
+48,7
@@
public class GetPostCommand extends AbstractSoneCommand {
Post post = getPost(parameters, "Post");
boolean includeReplies = getBoolean(parameters, "IncludeReplies", true);
Post post = getPost(parameters, "Post");
boolean includeReplies = getBoolean(parameters, "IncludeReplies", true);
- return new Response(encodePost(post, "Post.", includeReplies));
+ return new Response(
"Post",
encodePost(post, "Post.", includeReplies));
}
}
}
}