Author: rharo
Date: Mon Nov 24 11:33:49 2014
New Revision: 1641373

URL: http://svn.apache.org/r1641373
Log:
STANBOL-1408 

Addapting jenatdb module to version 1.0.1 of JenaTDB

Modified:
    stanbol/trunk/entityhub/indexing/genericrdf/pom.xml
    stanbol/trunk/entityhub/indexing/source/jenatdb/pom.xml
    
stanbol/trunk/entityhub/indexing/source/jenatdb/src/main/java/org/apache/stanbol/entityhub/indexing/source/jenatdb/DestinationTripleGraph.java

Modified: stanbol/trunk/entityhub/indexing/genericrdf/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/entityhub/indexing/genericrdf/pom.xml?rev=1641373&r1=1641372&r2=1641373&view=diff
==============================================================================
--- stanbol/trunk/entityhub/indexing/genericrdf/pom.xml (original)
+++ stanbol/trunk/entityhub/indexing/genericrdf/pom.xml Mon Nov 24 11:33:49 2014
@@ -153,32 +153,6 @@
       <version>1.0.0-SNAPSHOT</version>
       <scope>runtime</scope>
     </dependency>
-    
-    <!-- overriding parent dependencies -->
-    <dependency>
-      <groupId>org.apache.jena</groupId>
-      <artifactId>jena-core</artifactId>
-      <version>2.10.0</version>
-      <scope>runtime</scope>
-      <exclusions>
-        <exclusion>
-          <artifactId>slf4j-log4j12</artifactId>
-          <groupId>org.slf4j</groupId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jena</groupId>
-      <artifactId>jena-tdb</artifactId>
-      <version>0.10.0</version>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jena</groupId>
-      <artifactId>jena-arq</artifactId>
-      <version>2.10.0</version>
-      <scope>runtime</scope>
-    </dependency>
 
     <!-- dependencies for the vcard source -->
     <dependency>

Modified: stanbol/trunk/entityhub/indexing/source/jenatdb/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/entityhub/indexing/source/jenatdb/pom.xml?rev=1641373&r1=1641372&r2=1641373&view=diff
==============================================================================
--- stanbol/trunk/entityhub/indexing/source/jenatdb/pom.xml (original)
+++ stanbol/trunk/entityhub/indexing/source/jenatdb/pom.xml Mon Nov 24 11:33:49 
2014
@@ -118,7 +118,6 @@
     <dependency>
       <groupId>org.apache.jena</groupId>
       <artifactId>jena-core</artifactId>
-      <version>2.10.0</version>
       <exclusions>
         <exclusion>
           <artifactId>slf4j-log4j12</artifactId>
@@ -129,12 +128,10 @@
     <dependency>
       <groupId>org.apache.jena</groupId>
       <artifactId>jena-tdb</artifactId>
-      <version>0.10.0</version>
     </dependency>
     <dependency>
       <groupId>org.apache.jena</groupId>
       <artifactId>jena-arq</artifactId>
-      <version>2.10.0</version>
     </dependency>
     <dependency>
       <groupId>org.slf4j</groupId>

Modified: 
stanbol/trunk/entityhub/indexing/source/jenatdb/src/main/java/org/apache/stanbol/entityhub/indexing/source/jenatdb/DestinationTripleGraph.java
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/entityhub/indexing/source/jenatdb/src/main/java/org/apache/stanbol/entityhub/indexing/source/jenatdb/DestinationTripleGraph.java?rev=1641373&r1=1641372&r2=1641373&view=diff
==============================================================================
--- 
stanbol/trunk/entityhub/indexing/source/jenatdb/src/main/java/org/apache/stanbol/entityhub/indexing/source/jenatdb/DestinationTripleGraph.java
 (original)
+++ 
stanbol/trunk/entityhub/indexing/source/jenatdb/src/main/java/org/apache/stanbol/entityhub/indexing/source/jenatdb/DestinationTripleGraph.java
 Mon Nov 24 11:33:49 2014
@@ -19,7 +19,6 @@ package org.apache.stanbol.entityhub.ind
 import java.util.Map;
 
 import org.apache.jena.atlas.lib.Tuple;
-import org.apache.jena.atlas.logging.Log;
 import org.slf4j.Logger;
 
 import com.hp.hpl.jena.graph.Node;
@@ -129,7 +128,7 @@ class DestinationTripleGraph implements 
         if ( ! dsg.getLocation().isMem() && startedEmpty )
         {
             String filename = dsg.getLocation().getPath(Names.optStats) ;
-            Stats.write(filename, stats) ;
+            Stats.write(filename, stats.results()) ;
         }
         forceSync(dsg) ;
     }


Reply via email to