Skip to content

Commit

Permalink
MET-6117 Remove deprecations from oai harvesting (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
stzanakis authored Sep 18, 2024
1 parent 5614876 commit 153e929
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
import eu.europeana.metis.harvesting.FullRecord;
import eu.europeana.metis.harvesting.FullRecordHarvestingIterator;
import eu.europeana.metis.harvesting.HarvesterException;
import eu.europeana.metis.harvesting.HarvestingIterator;
import eu.europeana.metis.harvesting.ReportingIteration;
import eu.europeana.metis.harvesting.oaipmh.OaiRecordHeader;
import eu.europeana.metis.harvesting.oaipmh.OaiRecordHeaderIterator;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
Expand Down Expand Up @@ -39,7 +39,7 @@ public byte[] readFileToBytes(String file) throws IOException {
return inputStream.readAllBytes();
}

public static class TestHeaderIterator implements OaiRecordHeaderIterator {
public static class TestHeaderIterator implements HarvestingIterator<OaiRecordHeader, OaiRecordHeader> {

private final List<OaiRecordHeader> source;

Expand Down

0 comments on commit 153e929

Please sign in to comment.