From 29d4de24174ea4b90397fbd1d0d20ea12d77b72d Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 25 Jun 2014 19:54:30 +0200 Subject: [PATCH] Remove unnecessary return. --- src/main/java/net/pterodactylus/sone/web/DeletePostPage.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/web/DeletePostPage.java b/src/main/java/net/pterodactylus/sone/web/DeletePostPage.java index 6ef86f0..5a309fa 100644 --- a/src/main/java/net/pterodactylus/sone/web/DeletePostPage.java +++ b/src/main/java/net/pterodactylus/sone/web/DeletePostPage.java @@ -63,7 +63,6 @@ public class DeletePostPage extends SoneTemplatePage { } templateContext.set("post", post.get()); templateContext.set("returnPage", returnPage); - return; } else if (request.getMethod() == Method.POST) { String postId = request.getHttpRequest().getPartAsStringFailsafe("post", 36); String returnPage = request.getHttpRequest().getPartAsStringFailsafe("returnPage", 256); -- 2.7.4