From ef30b3672bc49eb997fc4b2f98638c1bebc8a0dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 20 Oct 2010 14:48:13 +0200 Subject: [PATCH] Remove obsolete link callback class. --- .../net/pterodactylus/sone/web/WebInterface.java | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/main/java/net/pterodactylus/sone/web/WebInterface.java b/src/main/java/net/pterodactylus/sone/web/WebInterface.java index 3d67e2d..6eb993d 100644 --- a/src/main/java/net/pterodactylus/sone/web/WebInterface.java +++ b/src/main/java/net/pterodactylus/sone/web/WebInterface.java @@ -48,10 +48,8 @@ import net.pterodactylus.util.template.Template; import net.pterodactylus.util.template.TemplateException; import net.pterodactylus.util.template.TemplateFactory; import net.pterodactylus.util.template.TemplateProvider; -import freenet.clients.http.LinkEnabledCallback; import freenet.clients.http.SessionManager; import freenet.clients.http.ToadletContainer; -import freenet.clients.http.ToadletContext; import freenet.l10n.BaseL10n; /** @@ -242,24 +240,6 @@ public class WebInterface extends AbstractService { } /** - * {@link LinkEnabledCallback} implementation that always returns - * {@code true} when {@link LinkEnabledCallback#isEnabled(ToadletContext)} - * is called. - * - * @author David ‘Bombe’ Roden - */ - public class AlwaysEnabledCallback implements LinkEnabledCallback { - - /** - * {@inheritDoc} - */ - @Override - public boolean isEnabled(ToadletContext toadletContext) { - return true; - } - } - - /** * Template provider implementation that uses * {@link WebInterface#createReader(String)} to load templates for * inclusion. -- 2.7.4