mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-08-02 12:51:10 +00:00
[HER-1814] remove dependency on apache commons-pool/GenericObjectPool
* SelfTestBase.java
don't try to UURIify 'fieldesc:' ad-hoc URIs
This commit is contained in:
@@ -354,6 +354,10 @@ public abstract class SelfTestBase extends TmpDirTestCase {
|
||||
List<ArchiveRecordHeader> headers = headersInArcs();
|
||||
HashSet<String> result = new HashSet<String>();
|
||||
for (ArchiveRecordHeader arh: headers) {
|
||||
// ignore 'filedesc:' record
|
||||
if(arh.getUrl().startsWith("filedesc:")) {
|
||||
continue;
|
||||
}
|
||||
UURI uuri = UURIFactory.getInstance(arh.getUrl());
|
||||
String path = uuri.getPath();
|
||||
if (path.startsWith("/")) {
|
||||
|
||||
Reference in New Issue
Block a user