X-Git-Url: http://git.nikiroo.be/?p=fanfix.git;a=blobdiff_plain;f=library%2FWebLibraryServer.java;h=9073b8cad58895f02ccbd88d2a8d2a9deebf6397;hp=b3d897d04bbbb8bf5ecc433cd4dee280e415c7e6;hb=b627826356289872dd817b9e5903e209fa881886;hpb=9bd801bfc6a10e5298cdec6e48ca0506ecdfde53 diff --git a/library/WebLibraryServer.java b/library/WebLibraryServer.java index b3d897d..9073b8c 100644 --- a/library/WebLibraryServer.java +++ b/library/WebLibraryServer.java @@ -28,7 +28,6 @@ import be.nikiroo.utils.NanoHTTPD; import be.nikiroo.utils.NanoHTTPD.Response; import be.nikiroo.utils.NanoHTTPD.Response.Status; import be.nikiroo.utils.Progress; -import be.nikiroo.utils.Progress.ProgressListener; public class WebLibraryServer extends WebLibraryServerHtml { class WLoginResult extends LoginResult { @@ -415,14 +414,6 @@ public class WebLibraryServer extends WebLibraryServerHtml { final Progress pg = new Progress(); final String luid = lib.getNextId(); - // Keep the latest name - pg.addProgressListener(new ProgressListener() { - @Override - public void progress(Progress progress, String name) { - pg.setName(name); - } - }); - synchronized (imprts) { imprts.put(luid, pg); }