From: David ‘Bombe’ Roden Date: Wed, 16 Nov 2016 19:43:32 +0000 (+0100) Subject: Add annotations to method-to-override X-Git-Tag: 0.9.7^2~434 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d01a440639ff56d031cfd4678c8a4972ee972632;p=Sone.git Add annotations to method-to-override --- 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 { } /**