From: Niki Roo Date: Wed, 29 Nov 2017 20:59:22 +0000 (+0100) Subject: Update nikiroo-utils + traces fix X-Git-Tag: fanfix-1.6.3~23 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=22b2b942b8e2ca32e03d5e54f787a7efe10bcd04;p=fanfix.git Update nikiroo-utils + traces fix --- diff --git a/libs/nikiroo-utils-3.1.2-sources.jar b/libs/nikiroo-utils-3.1.3-sources.jar similarity index 97% rename from libs/nikiroo-utils-3.1.2-sources.jar rename to libs/nikiroo-utils-3.1.3-sources.jar index ec1ed6e..56195ea 100644 Binary files a/libs/nikiroo-utils-3.1.2-sources.jar and b/libs/nikiroo-utils-3.1.3-sources.jar differ diff --git a/src/be/nikiroo/fanfix/Main.java b/src/be/nikiroo/fanfix/Main.java index 70f71ed..671778e 100644 --- a/src/be/nikiroo/fanfix/Main.java +++ b/src/be/nikiroo/fanfix/Main.java @@ -23,7 +23,6 @@ import be.nikiroo.fanfix.reader.Reader.ReaderType; import be.nikiroo.fanfix.supported.BasicSupport; import be.nikiroo.fanfix.supported.BasicSupport.SupportType; import be.nikiroo.utils.Progress; -import be.nikiroo.utils.TraceHandler; import be.nikiroo.utils.Version; import be.nikiroo.utils.serial.server.ConnectActionClientObject; import be.nikiroo.utils.serial.server.ServerObject; @@ -334,7 +333,7 @@ public class Main { } try { ServerObject server = new RemoteLibraryServer(key, port); - server.setTraceHandler(new TraceHandler(true, true, true)); + server.setTraceHandler(Instance.getTraceHandler()); server.start(); } catch (IOException e) { Instance.getTraceHandler().error(e); diff --git a/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java b/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java index b268999..55c50c1 100644 --- a/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java +++ b/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java @@ -51,7 +51,7 @@ public class RemoteLibraryServer extends ServerObject { * in case of I/O error */ public RemoteLibraryServer(String key, int port) throws IOException { - super(port, true); + super("Fanfix remote library", port, true); this.key = key; }