X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ftext%2FTextFilter.java;h=02889f1f3dd777413eec76bb9829f497b0c88394;hp=5744368dc3d7dcdf5f6b23808fa1f63d5e924cba;hb=62573c314957b1851f4fbe693b8746686caa940a;hpb=aa94dcb712392b69cb431d1637e4948688d15791 diff --git a/src/main/java/net/pterodactylus/sone/text/TextFilter.java b/src/main/java/net/pterodactylus/sone/text/TextFilter.java index 5744368..02889f1 100644 --- a/src/main/java/net/pterodactylus/sone/text/TextFilter.java +++ b/src/main/java/net/pterodactylus/sone/text/TextFilter.java @@ -1,5 +1,5 @@ /* - * Sone - TextFilter.java - Copyright © 2011 David Roden + * Sone - TextFilter.java - Copyright © 2011–2016 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 @@ -17,24 +17,15 @@ package net.pterodactylus.sone.text; -import java.util.logging.Logger; - -import net.pterodactylus.util.logging.Logging; - /** * Filter for newly inserted text. This filter strips HTTP links to the local * node of identifying marks, e.g. a link to “http://localhost:8888/KSK@gpl.txt” * will be converted to “KSK@gpl.txt”. This will only work for links that point * to the same address Sone is accessed by, so if you access Sone using * localhost:8888, links to 127.0.0.1:8888 will not be removed. - * - * @author David ‘Bombe’ Roden */ public class TextFilter { - /** The logger. */ - private static final Logger logger = Logging.getLogger(TextFilter.class); - /** * Filters the given text, stripping the host header part for links to the * local node.