Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Pasquale Cavallo committed Jul 2, 2020
1 parent 02953eb commit dbde824
Show file tree
Hide file tree
Showing 14 changed files with 4 additions and 1,549 deletions.
Expand Up @@ -12,6 +12,7 @@
import java.util.Collection;
import java.util.List;
import java.util.concurrent.Callable;
import javax.el.MethodNotFoundException;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Invocation;
Expand All @@ -27,7 +28,6 @@
import org.dspace.content.Item;
import org.dspace.importer.external.datamodel.ImportRecord;
import org.dspace.importer.external.datamodel.Query;
import org.dspace.importer.external.exception.ExternalProviderMethodNotImplementedException;
import org.dspace.importer.external.exception.MetadataSourceException;
import org.dspace.importer.external.service.AbstractImportMetadataSourceService;
import org.jaxen.JaxenException;
Expand Down Expand Up @@ -143,15 +143,12 @@ public String getImportSource() {
}

/**
* NOT IMPLEMENTED: Finds records based on an item
*
* @param item an item to base the search on
* @return a collection of import records. Only the identifier of the found records may be put in the record.
* @throws MetadataSourceException if the underlying methods throw any exception.
* Expect this method will be not used and erased from the interface soon
*/
@Override
public Collection<ImportRecord> findMatchingRecords(Item item) throws MetadataSourceException {
throw new ExternalProviderMethodNotImplementedException("This method is not implemented for ArXiv");
// FIXME: we need this method?
throw new MethodNotFoundException("This method is not implemented for ArXiv");
}

/**
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit dbde824

Please sign in to comment.