Skip to content

Commit

Permalink
Ported AGDISTIS back to Java 1.6 in order to support older server
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoUsbeck committed Sep 18, 2014
1 parent 2267bef commit 6a4cea4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.aksw</groupId>
<artifactId>AGDISTIS</artifactId>
<version>0.1.0</version>
<version>0.4.0</version>
<packaging>war</packaging>
<!-- BUILD -->
<build>
Expand Down Expand Up @@ -60,7 +60,7 @@
</build>
<!-- PROPERTIES -->
<properties>
<java.version>1.7</java.version>
<java.version>1.6</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<mavenVersion>4.0</mavenVersion>
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/org/aksw/agdistis/algorithm/NEDAlgo_HITS.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import org.aksw.agdistis.graph.HITS;
import org.aksw.agdistis.graph.Node;
import org.aksw.agdistis.util.TripleIndex;
import org.openrdf.repository.RepositoryException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down Expand Up @@ -93,7 +92,7 @@ public void run(Document document) {
}
}

} catch (RepositoryException | IOException | InterruptedException e) {
} catch (Exception e) {
log.error("AGDISTIS cannot be run on this document.", e);
}
}
Expand Down

0 comments on commit 6a4cea4

Please sign in to comment.