mirror of https://github.com/zlatinb/muwire
fixes
parent
1d8f0f74af
commit
ebecc34868
|
@ -100,7 +100,7 @@ class BrowseManager {
|
|||
String first = path.getName(0)
|
||||
String[] more = new String[path.getNameCount()]
|
||||
for (int i = 1; i < path.getNameCount(); i ++)
|
||||
more[i - 1] = path.getName(i)
|
||||
more[i - 1] = path.getName(i).toString()
|
||||
more[more.length - 1] = sf.getFile().getName()
|
||||
path = Path.of(first, more)
|
||||
}
|
||||
|
|
|
@ -122,7 +122,7 @@ class BrowseSession implements Runnable {
|
|||
|
||||
JsonSlurper slurper = new JsonSlurper()
|
||||
DataInputStream dis = new DataInputStream(new GZIPInputStream(is))
|
||||
UIResultEvent[] batch = new UIResultEvent[Math.min(BATCH_SIZE, results)]
|
||||
UIResultEvent[] batch = new UIResultEvent[Math.min(BATCH_SIZE, files)]
|
||||
int j = 0
|
||||
for (int i = 0; i < files; i ++) {
|
||||
if (closed)
|
||||
|
|
Loading…
Reference in New Issue