From 6a4cea46390a2e12dc9d18a7d69d880113c14eaf Mon Sep 17 00:00:00 2001 From: Ricardo Usbeck Date: Thu, 18 Sep 2014 12:41:32 +0200 Subject: [PATCH] Ported AGDISTIS back to Java 1.6 in order to support older server --- pom.xml | 4 ++-- src/main/java/org/aksw/agdistis/algorithm/NEDAlgo_HITS.java | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 3561e7a..6ec380b 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.aksw AGDISTIS - 0.1.0 + 0.4.0 war @@ -60,7 +60,7 @@ - 1.7 + 1.6 UTF-8 UTF-8 4.0 diff --git a/src/main/java/org/aksw/agdistis/algorithm/NEDAlgo_HITS.java b/src/main/java/org/aksw/agdistis/algorithm/NEDAlgo_HITS.java index a0b1b22..5d23a33 100644 --- a/src/main/java/org/aksw/agdistis/algorithm/NEDAlgo_HITS.java +++ b/src/main/java/org/aksw/agdistis/algorithm/NEDAlgo_HITS.java @@ -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; @@ -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); } }