Remove unnecessary return.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 25 Jun 2014 17:54:30 +0000 (19:54 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 25 Jun 2014 17:54:30 +0000 (19:54 +0200)
src/main/java/net/pterodactylus/sone/web/DeletePostPage.java

index 6ef86f0..5a309fa 100644 (file)
@@ -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);