mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-09 07:24:41 +00:00
* URIAuthorityBasedQueueAssignmentPolicy.java
* SurtAuthorityQueueAssignmentPolicy.java
* HostnameQueueAssignmentPolicy.java
correct inadvertent 'default' access rather than 'protected' allowing overriding
This commit is contained in:
1 parent
9a74685065
commit
a729c041e1
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -35,7 +35,7 @@ extends URIAuthorityBasedQueueAssignmentPolicy {
|
||||
private static final long serialVersionUID = 3L;
|
||||
|
||||
@Override
|
||||
String getCoreKey(UURI basis) {
|
||||
protected String getCoreKey(UURI basis) {
|
||||
String scheme = basis.getScheme();
|
||||
String candidate = null;
|
||||
try {
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ extends URIAuthorityBasedQueueAssignmentPolicy {
|
||||
private static final long serialVersionUID = 3L;
|
||||
|
||||
@Override
|
||||
String getCoreKey(UURI basis) {
|
||||
protected String getCoreKey(UURI basis) {
|
||||
String candidate = getSurtAuthority(basis.getSurtForm());
|
||||
return candidate.replace(':','#');
|
||||
}
|
||||
|
||||
+1
-1
@@ -127,5 +127,5 @@ implements
|
||||
return path.substring(1,i);
|
||||
}
|
||||
|
||||
abstract String getCoreKey(UURI basis);
|
||||
protected abstract String getCoreKey(UURI basis);
|
||||
}
|
||||
Reference in new issue
Block a user