git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge master
[fanfix.git]
/
library
/
WebLibraryServer.java
diff --git
a/library/WebLibraryServer.java
b/library/WebLibraryServer.java
index b3d897d04bbbb8bf5ecc433cd4dee280e415c7e6..9073b8cad58895f02ccbd88d2a8d2a9deebf6397 100644
(file)
--- 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.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 {
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();
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);
}
synchronized (imprts) {
imprts.put(luid, pg);
}