Update nikiroo-utils + traces fix
authorNiki Roo <niki@nikiroo.be>
Wed, 29 Nov 2017 20:59:22 +0000 (21:59 +0100)
committerNiki Roo <niki@nikiroo.be>
Wed, 29 Nov 2017 20:59:22 +0000 (21:59 +0100)
libs/nikiroo-utils-3.1.3-sources.jar [moved from libs/nikiroo-utils-3.1.2-sources.jar with 97% similarity]
src/be/nikiroo/fanfix/Main.java
src/be/nikiroo/fanfix/library/RemoteLibraryServer.java

similarity index 97%
rename from libs/nikiroo-utils-3.1.2-sources.jar
rename to libs/nikiroo-utils-3.1.3-sources.jar
index ec1ed6edf838b46b9fbb7d4c3eb3ab343690d42c..56195ea0aa261e696b15d742ae0c8ce606586079 100644 (file)
Binary files a/libs/nikiroo-utils-3.1.2-sources.jar and b/libs/nikiroo-utils-3.1.3-sources.jar differ
index 70f71ed58a17be21ba36cb5505adcc52056e8596..671778e60dff4aba78b66a66666be8e285a06653 100644 (file)
@@ -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);
index b26899930bc35e806634536c57d4882d111e6332..55c50c1b44e13fc7c682211529ac83d00098f018 100644 (file)
@@ -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;
        }