mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-09 15:36:40 +00:00
Fix NPE
* URIAuthorityBasedQueueAssignmentPolicy.java
tolerate null getRawPathQuery response
This commit is contained in:
1 parent
c196a1de77
commit
4f0961c371
1 file changed
+3
+3
@@ -100,6 +100,9 @@ implements
|
||||
}
|
||||
|
||||
protected int getSubqueue(UURI basis, int parallelQueues) {
|
||||
if(null==basis.getRawPathQuery()) {
|
||||
return 0;
|
||||
}
|
||||
return conhash.bucketFor(basis.getRawPathQuery(), parallelQueues);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user