From: David ‘Bombe’ Roden Date: Mon, 11 Apr 2011 08:14:42 +0000 (+0200) Subject: Make constructor public and include it in the FCP interface’s commands. X-Git-Tag: 0.6.5^2~39^2~11 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=c35b60c40e2278302049a801edaa0065883fac98;ds=sidebyside Make constructor public and include it in the FCP interface’s commands. --- diff --git a/src/main/java/net/pterodactylus/sone/fcp/FcpInterface.java b/src/main/java/net/pterodactylus/sone/fcp/FcpInterface.java index 0ca2f1f..7b3663f 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/FcpInterface.java +++ b/src/main/java/net/pterodactylus/sone/fcp/FcpInterface.java @@ -62,6 +62,7 @@ public class FcpInterface { public FcpInterface(Core core) { commands.put("Version", new VersionCommand()); commands.put("GetLocalSones", new GetLocalSonesCommand(core)); + commands.put("GetPost", new GetPostCommand(core)); commands.put("GetPosts", new GetPostsCommand(core)); commands.put("GetPostFeed", new GetPostFeedCommand(core)); commands.put("LikePost", new LikePostCommand(core)); diff --git a/src/main/java/net/pterodactylus/sone/fcp/GetPostCommand.java b/src/main/java/net/pterodactylus/sone/fcp/GetPostCommand.java index b01b8f2..bb87407 100644 --- 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 */ - protected GetPostCommand(Core core) { + public GetPostCommand(Core core) { super(core); }