X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffcp%2FFcpInterface.java;h=440cb4ca5ee3026a2ff0c57d85435a30082f86d3;hb=7b55e0be6a3283e43a9bbab98f82aebdd948eb33;hp=918b15f4ad3a4b5669607056fd0a91b56dd66800;hpb=5bcc095b11defc28f7dadbf9dbaaa43ecf5bfe61;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/fcp/FcpInterface.java b/src/main/java/net/pterodactylus/sone/fcp/FcpInterface.java index 918b15f..440cb4c 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/FcpInterface.java +++ b/src/main/java/net/pterodactylus/sone/fcp/FcpInterface.java @@ -1,5 +1,5 @@ /* - * Sone - FcpInterface.java - Copyright © 2011–2013 David Roden + * Sone - FcpInterface.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 @@ -18,6 +18,7 @@ package net.pterodactylus.sone.fcp; import static com.google.common.base.Preconditions.checkNotNull; +import static java.util.logging.Logger.getLogger; import java.util.Collections; import java.util.HashMap; @@ -34,7 +35,6 @@ import net.pterodactylus.sone.fcp.event.FullAccessRequiredChanged; import net.pterodactylus.sone.freenet.fcp.Command.AccessType; import net.pterodactylus.sone.freenet.fcp.Command.ErrorResponse; import net.pterodactylus.sone.freenet.fcp.Command.Response; -import net.pterodactylus.util.logging.Logging; import freenet.pluginmanager.FredPluginFCP; import freenet.pluginmanager.PluginNotFoundException; @@ -75,7 +75,7 @@ public class FcpInterface { } /** The logger. */ - private static final Logger logger = Logging.getLogger(FcpInterface.class); + private static final Logger logger = getLogger(FcpInterface.class.getName()); /** Whether the FCP interface is currently active. */ private final AtomicBoolean active = new AtomicBoolean();