From: David ‘Bombe’ Roden Date: Mon, 11 Apr 2011 09:22:11 +0000 (+0200) Subject: Set write access to true in all commands that change data. X-Git-Tag: 0.6.5^2~39^2~5 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=6798ab08f87d387a7bddc0e3e41c08c8b6f4095d;p=Sone.git Set write access to true in all commands that change data. --- 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); } /**