From: David ‘Bombe’ Roden Date: Wed, 25 Jun 2014 17:54:30 +0000 (+0200) Subject: Remove unnecessary return. X-Git-Tag: 0.9-rc1^2~3^2~233 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=29d4de24174ea4b90397fbd1d0d20ea12d77b72d;p=Sone.git Remove unnecessary return. --- 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);