From: David ‘Bombe’ Roden Date: Sat, 16 Apr 2011 14:51:27 +0000 (+0200) Subject: Formatting and whitespace fixes. X-Git-Tag: 0.6.2^2~3 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=a11231f0e86d79b25eceef2514653d7fd8a39195;p=Sone.git Formatting and whitespace fixes. --- diff --git a/src/main/java/net/pterodactylus/sone/freenet/plugin/ConnectorListener.java b/src/main/java/net/pterodactylus/sone/freenet/plugin/ConnectorListener.java index 71710e4..3da08f3 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/plugin/ConnectorListener.java +++ b/src/main/java/net/pterodactylus/sone/freenet/plugin/ConnectorListener.java @@ -19,7 +19,6 @@ package net.pterodactylus.sone.freenet.plugin; import java.util.EventListener; - import freenet.support.SimpleFieldSet; import freenet.support.api.Bucket; diff --git a/src/main/java/net/pterodactylus/sone/web/LikePage.java b/src/main/java/net/pterodactylus/sone/web/LikePage.java index 73fdd3c..56f55ef 100644 --- a/src/main/java/net/pterodactylus/sone/web/LikePage.java +++ b/src/main/java/net/pterodactylus/sone/web/LikePage.java @@ -53,7 +53,7 @@ public class LikePage extends SoneTemplatePage { protected void processTemplate(Request request, TemplateContext templateContext) throws RedirectException { super.processTemplate(request, templateContext); if (request.getMethod() == Method.POST) { - String type=request.getHttpRequest().getPartAsStringFailsafe("type", 16); + String type = request.getHttpRequest().getPartAsStringFailsafe("type", 16); String id = request.getHttpRequest().getPartAsStringFailsafe(type, 36); String returnPage = request.getHttpRequest().getPartAsStringFailsafe("returnPage", 256); Sone currentSone = getCurrentSone(request.getToadletContext()); diff --git a/src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java b/src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java index e30c8f8..9eacaf8 100644 --- a/src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java +++ b/src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java @@ -26,8 +26,8 @@ import java.util.Map; import net.pterodactylus.sone.data.Sone; import net.pterodactylus.sone.main.SonePlugin; -import net.pterodactylus.sone.web.page.Page; import net.pterodactylus.sone.web.page.FreenetTemplatePage; +import net.pterodactylus.sone.web.page.Page; import net.pterodactylus.util.collection.ListBuilder; import net.pterodactylus.util.collection.MapBuilder; import net.pterodactylus.util.template.Template; @@ -53,8 +53,8 @@ public class SoneTemplatePage extends FreenetTemplatePage { private final boolean requireLogin; /** - * Creates a new template page for Sone that does not require the user - * to be logged in. + * Creates a new template page for Sone that does not require the user to be + * logged in. * * @param path * The path of the page @@ -68,8 +68,8 @@ public class SoneTemplatePage extends FreenetTemplatePage { } /** - * Creates a new template page for Sone that does not require the user - * to be logged in. + * Creates a new template page for Sone that does not require the user to be + * logged in. * * @param path * The path of the page