Skip to content

Commit

Permalink
Set the old ERD classes to deprecated. Fixed compile warnings. Added …
Browse files Browse the repository at this point in the history
…travis yml file to the version1.2.5 branch.
  • Loading branch information
MichaelRoeder committed Jan 24, 2017
1 parent 640966e commit d7888b0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: java

before_install:
- cp src/main/properties/log4j.properties src/test/resources/log4j.properties
- mkdir -p "gerbil_data"
- curl --retry 4 -L -o "gerbil_data/gerbil_data.zip" "https://github.com/AKSW/gerbil/releases/download/v1.2.4/gerbil_data.zip"
- unzip "gerbil_data/gerbil_data.zip"
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

import org.apache.commons.io.IOUtils;

@Deprecated
public class ERDDataset extends AbstractDataset implements InitializableDataset {

private static final String FREEBASE_URI = "https://www.googleapis.com/freebase";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;

Expand All @@ -15,11 +14,8 @@
import org.aksw.gerbil.datatypes.ErrorTypes;
import org.aksw.gerbil.exceptions.GerbilException;
import org.aksw.gerbil.transfer.nif.Document;
import org.hsqldb.lib.StringInputStream;
import org.xml.sax.InputSource;

import com.hp.hpl.jena.util.FileUtils;

public class SensevalDataset extends AbstractDataset implements InitializableDataset {

protected List<Document> documents;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import org.junit.BeforeClass;
import org.junit.Test;

@Deprecated
public class ERDDatasetTest {

private static final String FREEBASE_URI = "https://www.googleapis.com/freebase";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import java.util.Set;

import org.aksw.gerbil.transfer.nif.Marking;
import org.aksw.gerbil.transfer.nif.data.NamedEntity;
import org.aksw.gerbil.transfer.nif.data.TypedNamedEntity;
import org.junit.Assert;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import java.util.Set;

import org.aksw.gerbil.transfer.nif.Marking;
import org.aksw.gerbil.transfer.nif.data.NamedEntity;
import org.aksw.gerbil.transfer.nif.data.TypedNamedEntity;
import org.junit.Assert;
import org.junit.Test;
Expand Down

0 comments on commit d7888b0

Please sign in to comment.