From: David ‘Bombe’ Roden Date: Wed, 20 Oct 2010 19:42:18 +0000 (+0200) Subject: Don’t extend AbstractService unless there’s a reason for doing so. X-Git-Tag: 0.1-RC1~141 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=43ba2309d4647ea1925db87e4570cfd590357251;p=Sone.git Don’t extend AbstractService unless there’s a reason for doing so. --- diff --git a/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java b/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java index 2c98a7e..901019c 100644 --- a/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java +++ b/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java @@ -25,7 +25,6 @@ import java.util.logging.Logger; import net.pterodactylus.sone.data.Sone; import net.pterodactylus.util.logging.Logging; -import net.pterodactylus.util.service.AbstractService; import com.db4o.ObjectContainer; @@ -46,7 +45,7 @@ import freenet.node.RequestStarter; * * @author David ‘Bombe’ Roden */ -public class FreenetInterface extends AbstractService { +public class FreenetInterface { /** The logger. */ private static final Logger logger = Logging.getLogger(FreenetInterface.class); @@ -69,7 +68,6 @@ public class FreenetInterface extends AbstractService { * The high-level client */ public FreenetInterface(Node node, HighLevelSimpleClient client) { - super("Sone Freenet Interface"); this.node = node; this.client = client; }