X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FSearchPage.java;h=1bca8cd29acc6dfac39eff1a6cbbb46bc9b8b775;hb=9cb50c365e3bf7a74ffa40a45630a0e7be40b526;hp=08b6ccca2bf077f5884a150fe9c067677fab1d02;hpb=13e6ab1c63ed982d5be1dd2f436b8af79acd8fd6;p=Sone.git
diff --git a/src/main/java/net/pterodactylus/sone/web/SearchPage.java b/src/main/java/net/pterodactylus/sone/web/SearchPage.java
index 08b6ccc..1bca8cd 100644
--- a/src/main/java/net/pterodactylus/sone/web/SearchPage.java
+++ b/src/main/java/net/pterodactylus/sone/web/SearchPage.java
@@ -1,5 +1,5 @@
/*
- * Sone - SearchPage.java - Copyright © 2010â2012 David Roden
+ * Sone - SearchPage.java - Copyright © 2010â2013 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -97,6 +97,7 @@ public class SearchPage extends SoneTemplatePage {
* {@inheritDoc}
*/
@Override
+ @SuppressWarnings("synthetic-access")
protected void processTemplate(FreenetRequest request, TemplateContext templateContext) throws RedirectException {
super.processTemplate(request, templateContext);
String query = request.getHttpRequest().getParam("query").trim();
@@ -636,7 +637,7 @@ public class SearchPage extends SoneTemplatePage {
* The type of the object to extract
* @author David âBombeâ Roden
*/
- public static class HitMapper implements Function, T> {
+ private static class HitMapper implements Function, T> {
/**
* {@inheritDoc}