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
JsonIO: fix longs
[fanfix.git]
/
library
/
WebLibrary.java
diff --git
a/library/WebLibrary.java
b/library/WebLibrary.java
index 978dd9af51c05e5b56f93c2d61948e34fcbcc968..42f7ea5ccadd4eb40d6b86cfd1f6842abab0db50 100644
(file)
--- a/
library/WebLibrary.java
+++ b/
library/WebLibrary.java
@@
-309,6
+309,9
@@
public class WebLibrary extends BasicLibrary {
try {
subPg = JsonIO.toProgress(
new JSONObject(IOUtils.readSmallStream(in)));
try {
subPg = JsonIO.toProgress(
new JSONObject(IOUtils.readSmallStream(in)));
+ pg.setName(subPg.getName());
+ pg.setMinMax(subPg.getMin(), subPg.getMax());
+ pg.setProgress(subPg.getProgress());
} catch (Exception e) {
subPg = null;
} finally {
} catch (Exception e) {
subPg = null;
} finally {