index the right infohash

pull/53/head
Zlatin Balevsky 2020-11-01 04:53:31 +00:00
parent db8260c2bb
commit 6fae32765c
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 1 additions and 1 deletions

View File

@ -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)
} }