Add function that transforms a post into its replies.
[Sone.git] / src / main / java / net / pterodactylus / sone / fcp / GetPostCommand.java
index b01b8f2..e220429 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - GetPostCommand.java - Copyright © 2011 David Roden
+ * Sone - GetPostCommand.java - Copyright © 2011–2013 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -36,13 +36,10 @@ public class GetPostCommand extends AbstractSoneCommand {
         * @param core
         *            The Sone core
         */
-       protected GetPostCommand(Core core) {
+       public GetPostCommand(Core core) {
                super(core);
        }
 
-       /**
-        * {@inheritDoc}
-        */
        @Override
        public Response execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) throws FcpException {
                Post post = getPost(parameters, "Post");