From 6798ab08f87d387a7bddc0e3e41c08c8b6f4095d Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 11 Apr 2011 11:22:11 +0200 Subject: [PATCH] Set write access to true in all commands that change data. --- src/main/java/net/pterodactylus/sone/fcp/CreatePostCommand.java | 2 +- src/main/java/net/pterodactylus/sone/fcp/CreateReplyCommand.java | 2 +- src/main/java/net/pterodactylus/sone/fcp/DeletePostCommand.java | 2 +- src/main/java/net/pterodactylus/sone/fcp/DeleteReplyCommand.java | 2 +- src/main/java/net/pterodactylus/sone/fcp/LikePostCommand.java | 2 +- src/main/java/net/pterodactylus/sone/fcp/LikeReplyCommand.java | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/net/pterodactylus/sone/fcp/CreatePostCommand.java b/src/main/java/net/pterodactylus/sone/fcp/CreatePostCommand.java index db2189e..4dd0b8e 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/CreatePostCommand.java +++ b/src/main/java/net/pterodactylus/sone/fcp/CreatePostCommand.java @@ -40,7 +40,7 @@ public class CreatePostCommand extends AbstractSoneCommand { * The Sone core */ public CreatePostCommand(Core core) { - super(core); + super(core, true); } /** diff --git a/src/main/java/net/pterodactylus/sone/fcp/CreateReplyCommand.java b/src/main/java/net/pterodactylus/sone/fcp/CreateReplyCommand.java index 90af42c..880d51e 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/CreateReplyCommand.java +++ b/src/main/java/net/pterodactylus/sone/fcp/CreateReplyCommand.java @@ -41,7 +41,7 @@ public class CreateReplyCommand extends AbstractSoneCommand { * The Sone core */ public CreateReplyCommand(Core core) { - super(core); + super(core, true); } /** diff --git a/src/main/java/net/pterodactylus/sone/fcp/DeletePostCommand.java b/src/main/java/net/pterodactylus/sone/fcp/DeletePostCommand.java index e4e42f0..3c8b03a 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/DeletePostCommand.java +++ b/src/main/java/net/pterodactylus/sone/fcp/DeletePostCommand.java @@ -39,7 +39,7 @@ public class DeletePostCommand extends AbstractSoneCommand { * The Sone core */ public DeletePostCommand(Core core) { - super(core); + super(core, true); } /** diff --git a/src/main/java/net/pterodactylus/sone/fcp/DeleteReplyCommand.java b/src/main/java/net/pterodactylus/sone/fcp/DeleteReplyCommand.java index 601455a..4ac9c15 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/DeleteReplyCommand.java +++ b/src/main/java/net/pterodactylus/sone/fcp/DeleteReplyCommand.java @@ -39,7 +39,7 @@ public class DeleteReplyCommand extends AbstractSoneCommand { * The Sone core */ public DeleteReplyCommand(Core core) { - super(core); + super(core, true); } /** diff --git a/src/main/java/net/pterodactylus/sone/fcp/LikePostCommand.java b/src/main/java/net/pterodactylus/sone/fcp/LikePostCommand.java index 34b8516..37f69ec 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/LikePostCommand.java +++ b/src/main/java/net/pterodactylus/sone/fcp/LikePostCommand.java @@ -39,7 +39,7 @@ public class LikePostCommand extends AbstractSoneCommand { * The Sone core */ protected LikePostCommand(Core core) { - super(core); + super(core, true); } /** diff --git a/src/main/java/net/pterodactylus/sone/fcp/LikeReplyCommand.java b/src/main/java/net/pterodactylus/sone/fcp/LikeReplyCommand.java index 53e4c02..2c8f04f 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/LikeReplyCommand.java +++ b/src/main/java/net/pterodactylus/sone/fcp/LikeReplyCommand.java @@ -39,7 +39,7 @@ public class LikeReplyCommand extends AbstractSoneCommand { * The Sone core */ protected LikeReplyCommand(Core core) { - super(core); + super(core, true); } /** -- 2.7.4