mirror of https://github.com/zlatinb/muwire
index the right infohash
parent
db8260c2bb
commit
6fae32765c
|
@ -140,7 +140,7 @@ class CollectionManager {
|
||||||
Set<FileCollection> set = fileRootToCollections.get(it.infoHash)
|
Set<FileCollection> set = fileRootToCollections.get(it.infoHash)
|
||||||
if (set == null) {
|
if (set == null) {
|
||||||
set = new HashSet<>()
|
set = new HashSet<>()
|
||||||
fileRootToCollections.put(infoHash, set)
|
fileRootToCollections.put(it.infoHash, set)
|
||||||
}
|
}
|
||||||
set.add(collection)
|
set.add(collection)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue