From: David ‘Bombe’ Roden Date: Wed, 13 Oct 2010 12:07:23 +0000 (+0200) Subject: Whitespace fixes. X-Git-Tag: 0.1-RC1~482 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d883f0fb14599993a3b4604ba45aa5f6d500c550;p=Sone.git Whitespace fixes. --- diff --git a/src/main/java/net/pterodactylus/sone/web/page/PageToadlet.java b/src/main/java/net/pterodactylus/sone/web/page/PageToadlet.java index 6d4b8a6..4334a7f 100644 --- a/src/main/java/net/pterodactylus/sone/web/page/PageToadlet.java +++ b/src/main/java/net/pterodactylus/sone/web/page/PageToadlet.java @@ -35,7 +35,7 @@ import freenet.support.io.Closer; /** * {@link Toadlet} implementation that is wrapped around a {@link Page}. - * + * * @author David ‘Bombe’ Roden */ public class PageToadlet extends Toadlet implements LinkEnabledCallback { @@ -51,7 +51,7 @@ public class PageToadlet extends Toadlet implements LinkEnabledCallback { /** * Creates a new toadlet that hands off processing to a {@link Page}. - * + * * @param highLevelSimpleClient * @param menuName * The name of the menu item @@ -70,7 +70,7 @@ public class PageToadlet extends Toadlet implements LinkEnabledCallback { /** * Returns the name to display in the menu. - * + * * @return The name in the menu */ public String getMenuName() { @@ -87,7 +87,7 @@ public class PageToadlet extends Toadlet implements LinkEnabledCallback { /** * Handles a HTTP GET request. - * + * * @param uri * The URI of the request * @param httpRequest @@ -105,7 +105,7 @@ public class PageToadlet extends Toadlet implements LinkEnabledCallback { /** * Handles a HTTP POST request. - * + * * @param uri * The URI of the request * @param httpRequest @@ -131,7 +131,7 @@ public class PageToadlet extends Toadlet implements LinkEnabledCallback { /** * Handles a HTTP request. - * + * * @param pageRequest * The request to handle * @throws IOException diff --git a/src/main/java/net/pterodactylus/sone/web/page/TemplatePage.java b/src/main/java/net/pterodactylus/sone/web/page/TemplatePage.java index d1febb2..db011df 100644 --- a/src/main/java/net/pterodactylus/sone/web/page/TemplatePage.java +++ b/src/main/java/net/pterodactylus/sone/web/page/TemplatePage.java @@ -30,7 +30,7 @@ import freenet.l10n.BaseL10n; /** * Base class for all {@link Page}s that are rendered with {@link Template}s. - * + * * @author David ‘Bombe’ Roden */ public class TemplatePage implements Page, LinkEnabledCallback { @@ -49,7 +49,7 @@ public class TemplatePage implements Page, LinkEnabledCallback { /** * Creates a new template page. - * + * * @param path * The path of the page * @param template @@ -107,7 +107,7 @@ public class TemplatePage implements Page, LinkEnabledCallback { /** * Can be overridden to return a custom set of style sheets that are to be * included in the page’s header. - * + * * @return Additional style sheets to load */ protected Collection getStyleSheets() { @@ -117,7 +117,7 @@ public class TemplatePage implements Page, LinkEnabledCallback { /** * Can be overridden when extending classes need to set variables in the * template before it is rendered. - * + * * @param request * The request that is rendered * @param template @@ -132,7 +132,7 @@ public class TemplatePage implements Page, LinkEnabledCallback { /** * Can be overridden to redirect the user to a different page, in case a log * in is required, or something else is wrong. - * + * * @param request * The request that is processed * @return The URL to redirect to, or {@code null} to not redirect