Skip to content

Commit

Permalink
Merge pull request IQSS#9009 from bencomp/remove-gpl-code
Browse files Browse the repository at this point in the history
Remove unused GPL-licensed code
  • Loading branch information
kcondon authored Sep 13, 2023
2 parents a8f6631 + 0087fb8 commit 92404af
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 1,422 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
import java.util.logging.*;
import java.io.*;

import edu.harvard.iq.dataverse.ingest.plugin.spi.RegisterableService;
import edu.harvard.iq.dataverse.ingest.plugin.spi.IngestServiceProvider;
import edu.harvard.iq.dataverse.ingest.plugin.spi.ServiceRegistry;
import java.nio.MappedByteBuffer;
import java.util.Locale;

Expand Down Expand Up @@ -44,22 +42,6 @@ public FileMetadataExtractorSpi(String vendorName, String version) {
this.version = version;
}

public void onRegistration(ServiceRegistry registry,
Class<?> category) {}


public void onDeregistration(ServiceRegistry registry,
Class<?> category) {}

public String getVersion() {
return version;
}

public String getVendorName() {
return vendorName;
}


public abstract String getDescription(Locale locale);

protected String[] names = null;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*
* @author akio sone at UNC-Odum
*/
public abstract class IngestServiceProvider implements RegisterableService {
public abstract class IngestServiceProvider {

/**
* The name of the vendor that is responsible for coding this
Expand Down Expand Up @@ -62,29 +62,6 @@ public IngestServiceProvider(String vendorName, String version) {
public IngestServiceProvider() {
}

/**
* A callback to be called exactly once after this Spi class
* has been instantiated and registered in a
* <code>ServiceRegistry</code>.
*
* @param registry the ServiceRegistry instance.
* @param category a <code>Class</code> object that indicatges
* its registry category under which this object has been registered.
* category.
*/
public void onRegistration(ServiceRegistry registry,
Class<?> category) {}

/**
* A callback whenever this Spi class is deregistered from
* a <code>ServiceRegistry</code>.
*
* @param registry the ServiceRegistry instance.
* @param category a <code>Class</code> object that indicatges
* its registry category from which this object is being de-registered.
*/
public void onDeregistration(ServiceRegistry registry,
Class<?> category) {}
/**
* Gets the value of the version field.
*
Expand Down
Loading

0 comments on commit 92404af

Please sign in to comment.