From d01a440639ff56d031cfd4678c8a4972ee972632 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 16 Nov 2016 20:43:32 +0100 Subject: [PATCH] Add annotations to method-to-override --- src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java b/src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java index bf9614d..35c39b6 100644 --- a/src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java +++ b/src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java @@ -26,6 +26,8 @@ import java.util.Collections; import java.util.List; import java.util.Map; +import javax.annotation.Nonnull; + import net.pterodactylus.sone.data.Sone; import net.pterodactylus.sone.main.SonePlugin; import net.pterodactylus.sone.web.page.FreenetRequest; @@ -255,7 +257,7 @@ public class SoneTemplatePage extends FreenetTemplatePage { handleRequest(request, templateContext); } - protected void handleRequest(FreenetRequest request, TemplateContext templateContext) throws RedirectException { + protected void handleRequest(@Nonnull FreenetRequest request, @Nonnull TemplateContext templateContext) throws RedirectException { } /** -- 2.7.4